Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » LineEdit, EditFields, DocEdit » What do you think about this approach to making CodeEditor more user extendable?
Re: What do you think about this approach to making CodeEditor more user extendable? [message #45607 is a reply to message #45606] Tue, 15 December 2015 12:42 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
cbpporter wrote on Tue, 15 December 2015 12:07
Hi Mirek,
Currently, there is an enum describing a bunch of hard-coded languages and a few tables with hard-coded positions.


I am not quite sure this is the completely correct description.

Yes, styling elements (like color of comments) are currently hardcoded. However, CodeEditor is already open w.r.t. language syntax descriptions. You can register your own syntax, with text id, with EditorSyntax::Register. You can then activate this syntax using this text id with Highlight.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Lost focus in edit fields
Next Topic: How to do fast Append & scroll in LineEdit with MT?
Goto Forum:
  


Current Time: Wed May 08 07:53:58 CEST 2024

Total time taken to generate the page: 0.01544 seconds