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: Other Features Wishlist and/or Bugs » Syntax highlighting - Settings being over written with defaults
Re: Syntax highlighting - Settings being over written with defaults [message #48334 is a reply to message #48333] Sat, 24 June 2017 13:21 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

I know what is wrong - but this is huge problem with our internal CodeEditor architecture - the problem is that we use global settings (some kind of singlet - which is always anti-pater). What we need to do in CodeEditor code area is just remove that singleton and make it per CodeEditor. Then we could pass settings for each instance of code editor in the independent way.

This structure is the problem (CodeEditor - Syntax.h):
struct HighlightSetup { // Global highlighting settings


Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Sat, 24 June 2017 13:42]

Report message to a moderator

 
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
Read Message
Read Message
Read Message
Previous Topic: Case insensitivity for Assist++
Next Topic: Project export bugs
Goto Forum:
  


Current Time: Mon Apr 29 05:38:30 CEST 2024

Total time taken to generate the page: 0.03126 seconds