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++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » Questions about CodeEditor
Re: Questions about CodeEditor [message #44752 is a reply to message #44751] Tue, 16 June 2015 13:25 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1428
Registered: September 2007
Ultimate Contributor
So I registered my extension using RegisterCSyntax, added a new entry to the enum and added keywords and identifier names with LoadSyntax within CSyntax::InitKeywords() and...

somehow magically all my sources are highlighted with the proper keywords! I have no idea how it matches the registered extension with the keywords set, but I suspect that out of coincidence the indexes all match up...

I wont be able to use CSyntax forever so it ma be time to inherit form it.

And I need to figure out how colors are loaded, because me using code to overwrite colors only works one time because of the ONCELOCK and then when switching tabs the colors are restored to default.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [solved] Next CodeEditor misery: selecting highlighted text colors does not work
Next Topic: [solved] Can we get TabBar::AddFrameToScroolBar
Goto Forum:
  


Current Time: Sat Aug 09 09:49:42 CEST 2025

Total time taken to generate the page: 0.03379 seconds