[PR #2] [MERGED] Lexer and Style changes #2

Closed
opened 2026-05-05 11:22:04 -06:00 by gitea-mirror · 0 comments
Owner

📋 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: masterHead: master


📝 Commits (4)

  • 26318c1 Added data types and URL support.
  • 81c2ccd Changed style to mimic Xojo IDE
  • d8d929a Modified py.test for changes in lexer.
  • a2e8518 Improve 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.

## 📋 Pull Request Information **Original PR:** https://github.com/declaresub/pygments-xojo/pull/2 **Author:** [@donl](https://github.com/donl) **Created:** 2/11/2016 **Status:** ✅ Merged **Merged:** 2/16/2016 **Merged by:** [@declaresub](https://github.com/declaresub) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`26318c1`](https://github.com/declaresub/pygments-xojo/commit/26318c1f60fa6cc6704328a73fefb49462c16178) Added data types and URL support. - [`81c2ccd`](https://github.com/declaresub/pygments-xojo/commit/81c2ccd8187613a131cbc855d14e0d4f2eb5af5d) Changed style to mimic Xojo IDE - [`d8d929a`](https://github.com/declaresub/pygments-xojo/commit/d8d929aff6bab3a439d64623b7bc1e8dc0644d84) Modified py.test for changes in lexer. - [`a2e8518`](https://github.com/declaresub/pygments-xojo/commit/a2e8518f459ae7c0cbe0db9a491576522821007c) Improve consistency of edge case classifications ### 📊 Changes **3 files changed** (+106 additions, -62 deletions) <details> <summary>View changed files</summary> 📝 `pygments_xojo/lexer.py` (+44 -15) 📝 `pygments_xojo/styles.py` (+52 -44) 📝 `pygments_xojo/tests/test_xojo.py` (+10 -3) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 11:22:04 -06:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/pygments-xojo#2
No description provided.