Skip to content

Commit

Permalink
Adding a link to TM4E for syntax highlighting and code actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vogella committed Nov 21, 2024
1 parent f8260c1 commit 44ef2a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ FAQ How do I get started with creating a custom text editor?
Contributing to Generic and Extensible editor
---------------------------------------------

Since Eclipse 4.7.M3, you can consider simply adding extensions to the [Generic Editor](https://www.eclipse.org/eclipse/news/4.7/M3/#generic-editor) . This will allow you to write support for textual edition of a language with less boiler plate.
Define an extension for the [Generic Editor](https://www.eclipse.org/eclipse/news/4.7/M3/#generic-editor).
This allows you to write support for textual edition of a language with less boiler plate.

Create a custom text editor
---------------------------
Expand Down
7 changes: 6 additions & 1 deletion docs/FAQ/FAQ_How_do_I_write_an_editor_for_my_own_language.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ FAQ How do I write an editor for my own language?
Contributing to Generic and Extensible editor
---------------------------------------------

Since Eclipse 4.7.M3, you can consider simply adding extensions to the [Generic Editor](https://www.eclipse.org/eclipse/news/4.7/M3/#generic-editor) . This will allow you to write support for textual edition of a language with less boiler plate.
Define an extension for the [Generic Editor](https://www.eclipse.org/eclipse/news/4.7/M3/#generic-editor).
This allows you to write support for textual edition of a language with less boiler plate.

Implementing your own editor
----------------------------
Expand Down Expand Up @@ -94,10 +95,14 @@ For scanning the underlying document to draw it using different colors and fonts

For each of the keywords in our little language, we define a word entry in our WordRule. We pass our keyword detector, together with rules for recognizing comments, strings, and white spaces to the scanner. With this simple set of rules, the scanner can segment a stream of bytes into sections and then use the underlying rules to color the sections.

[Eclipse TM4E - TextMate and language-configuration support](https://github.com/eclipse-tm4e/tm4e) allows to configure syntax highlighting and certain editor actions based on configuration files.

See Also:
---------

* [FAQ How do I create my own editor?](./FAQ_How_do_I_create_my_own_editor.md "FAQ How do I create my own editor?")
* [FAQ How do I get started with creating a custom text editor?](./FAQ_How_do_I_get_started_with_creating_a_custom_text_editor.md "FAQ How do I get started with creating a custom text editor?")
* [FAQ How do I add Content Assist to my language editor?](./FAQ_How_do_I_add_Content_Assist_to_my_language_editor.md "FAQ How do I add Content Assist to my language editor?")
* [Eclipse TM4E - TextMate and language-configuration support](https://github.com/eclipse-tm4e/tm4e)


0 comments on commit 44ef2a7

Please sign in to comment.