mirror of
https://github.com/declaresub/pygments-xojo.git
synced 2026-05-15 14:15:53 -06:00
[PR #2] [MERGED] Lexer and Style changes #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/pygments-xojo#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/declaresub/pygments-xojo/pull/2
Author: @donl
Created: 2/11/2016
Status: ✅ Merged
Merged: 2/16/2016
Merged by: @declaresub
Base:
master← Head:master📝 Commits (4)
26318c1Added data types and URL support.81c2ccdChanged style to mimic Xojo IDEd8d929aModified py.test for changes in lexer.a2e8518Improve consistency of edge case classifications📊 Changes
3 files changed (+106 additions, -62 deletions)
View changed files
📝
pygments_xojo/lexer.py(+44 -15)📝
pygments_xojo/styles.py(+52 -44)📝
pygments_xojo/tests/test_xojo.py(+10 -3)📄 Description
Added support in the lexer for data types (Integer, Byte, etc.), numeric floats and URLs in comments. Made some changes to the literal matching to handle additional edge cases to better match the behavior of the Xojo IDE.
Modified the style to mimic the coloring of the Xojo IDE default settings.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.