User forums > Using Code::Blocks
Syntax Highlighting bug
Max:
Dear all,
Using CB 2317 (Windows XP SP2) I got the following bug
Open Setting->Editor->Syntax Highlighting
Using the default color them click on "keyword" and select "Set 2" (it should be the user keyword set, isn't it?),
try to add a keyword to the list (currently I have the following list
DWORD HWND HINSTANCE
) for example add the keywod HANDLE.
Click OK and OK again to close the setting window.
The bug is: The modification is lost. No new keyword are really added.
My default.conf has
<editor>
<keywords>
<SET1>
<str>DWORD HWND HINSTANCE</str>
</SET1>
</keywords>
</editor>
manually modifying it to
<editor>
<keywords>
<SET1>
<str>DWORD HWND HINSTANCE HANDLE</str>
</SET1>
</keywords>
</editor>
seems to work.
I am correctly using the right procedure to add a new user keyword?
Regards
Massimo
Max:
In addition,
changing settings in the settings menu "sometimes" my customized default color highlight choices are lost. The
default colors turn to the original setting, loosing my customization.
I lost, for example, the color stettings change the toolbar icon size from 22x22 to 16x16 an back to 22x22.
This is an example. There are other ways to reproduce the bug, playing with the settings option it is simple to
observe the bug.
Am I doing something in the wrong way? Is the "default" not customizable?
Regards
Max
Pecan:
Your're not alone. A number of us are experiencing
the loss of editor settings. Posts about this are
all over the forum.
tiwag:
--- Quote from: Pecan on April 07, 2006, 06:54:04 pm ---Your're not alone. A number of us are experiencing
the loss of editor settings. Posts about this are
all over the forum.
--- End quote ---
true,
bump
Pecan:
--- Quote from: Pecan on April 07, 2006, 06:54:04 pm ---Your're not alone. A number of us are experiencing
the loss of editor settings. Posts about this are
all over the forum.
--- End quote ---
It seems that in default.conf, only the current changes are being recorded.
For example, here is Active line before changing the background.
--- Code: --- <cc>
<style17>
<BACK>
<colour r="255" g="0" b="255" />
</BACK>
<NAME>
<str>Active line</str>
</NAME>
</style17>
--- End code ---
Here is what is recorded when next changing the background.
--- Code: --- <cc>
<style0>
<BACK>
<colour r="255" g="222" b="168" />
</BACK>
<NAME>
<str>Default</str>
</NAME>
</style0>
--- End code ---
The active line change has been wiped out.
Will see if I can find the source of this...
Navigation
[0] Message Index
[#] Next page
Go to full version