|
|
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 #48348 is a reply to message #48347] |
Sun, 25 June 2017 15:49   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello,
What about small helper functions in the code?
void HighlightSetup::DefaultHlStyles()
{
if(IsDark(SColorPaper()))
InitDarkHlStyles();
else
InitDefaultHlStyles();
Where "Init..." functions could be private class methods or static functions inside .cpp file. In my opinion this will give us better code readability.
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Sun, 25 June 2017 15:57] Report message to a moderator
|
|
|
 |
|
Syntax highlighting - Settings being over written with defaults
By: Zed1 on Sat, 24 June 2017 00:11
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Klugier on Sat, 24 June 2017 13:10
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Klugier on Sat, 24 June 2017 13:21
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: mr_ped on Sat, 24 June 2017 13:40
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Klugier on Sat, 24 June 2017 15:38
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Zed1 on Sat, 24 June 2017 17:55
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: mirek on Sun, 25 June 2017 12:23
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Klugier on Sun, 25 June 2017 15:49
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: mr_ped on Mon, 26 June 2017 09:56
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: mirek on Mon, 26 June 2017 11:01
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Zed1 on Sun, 25 June 2017 16:11
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: mirek on Sun, 25 June 2017 21:39
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Zed1 on Mon, 26 June 2017 15:54
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Klugier on Mon, 26 June 2017 16:26
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Zed1 on Mon, 26 June 2017 17:39
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: mirek on Mon, 26 June 2017 17:41
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Zed1 on Mon, 26 June 2017 18:20
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Klugier on Fri, 30 June 2017 22:32
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Zed1 on Tue, 19 September 2017 15:19
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: cbpporter on Tue, 19 September 2017 15:44
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: Zed1 on Wed, 20 September 2017 00:12
|
 |
|
Re: Syntax highlighting - Settings being over written with defaults
By: mirek on Wed, 20 September 2017 11:27
|
Goto Forum:
Current Time: Sat Jun 14 13:54:18 CEST 2025
Total time taken to generate the page: 0.04703 seconds
|
|
|