Menu

#50 Text Styles - Add Entry Documentation.

None
pending
text styles (1)
2023-02-23
2021-08-25
Chris Fox
No

I can't find any documentation regarding the Add Entry to the text styles list. Unfortunately, there is a lack of text highlight colours for my needs. I tried using the Add Entry under the list of labels and set the FG and BG colours for the entries I added, but nothing changed on my open file which contained PHP, HTML, CSS and some JAVASCRIPT. Please let me know where I can find exactly how to use this feature, or if there is another way to add styles to specific words and symbols.

Discussion

  • Olivier Sessink

    Olivier Sessink - 2021-08-25

    Textstyles (which you can add with Add entry) are mapped to syntax groups in the language preferences. So first add an entry, then go to for example CSS, and change one of the syntax groups to your new textstyle.

    possibly this helps to understand how text styles work in relation to language syntax: https://bfwiki.tellefsen.net/index.php/Writing_language_definition_files#The_highlight_tag_in_the_header

     
  • Dr. Martin Senftleben

    • status: open --> pending
    • assigned_to: Dr. Martin Senftleben
     
  • Dr. Martin Senftleben

    Is the request answered? If nothing new comes up, this ticket will be closed shortly.

     

Log in to post a comment.

MongoDB Logo MongoDB