User forums > Using Code::Blocks

syntax-highlighting on write-protected sourcefiles fail

(1/4) > >>

stuffbit:
Hi all,
i have a problem with syntax-highlighting, when opening a write-protected file in the editor. The highlighting then is completely wrong. If the file is not write-protected, everything is fine. When a write-protected file is in the editor (with incorrect syntax-coloring) it is sufficient to open the syntax-highlighting dialog and to terminate it with OK. Then this single write-protected file is shown with the correct highlighting until code::blocks is ended. With the next start of c::b, the problem is the same as before.
- DZi

I´m using c::b rev. 2438, Win XP SP2

Michael:

--- Quote from: stuffbit on May 22, 2006, 10:37:17 am ---I´m using c::b rev. 2438, Win XP SP2

--- End quote ---

Hello,

Try with a more recent C::B revision if you still have your problem.

Best wishes,
Michael

sethjackson:

--- Quote from: stuffbit on May 22, 2006, 10:37:17 am ---Hi all,
i have a problem with syntax-highlighting, when opening a write-protected file in the editor. The highlighting then is completely wrong. If the file is not write-protected, everything is fine. When a write-protected file is in the editor (with incorrect syntax-coloring) it is sufficient to open the syntax-highlighting dialog and to terminate it with OK. Then this single write-protected file is shown with the correct highlighting until code::blocks is ended. With the next start of c::b, the problem is the same as before.
- DZi

I´m using c::b rev. 2438, Win XP SP2

--- End quote ---

It is known although maybe somewhat forgotten

Anyways could you please post this to the BerliOS bug tracker (so it won't be lost). I may be able to fix it. :D

stuffbit:
Hi,
with Rev.2484 the problem with syntax-highlighting is still there.
I´ll try to post the problem to the bug-tracker.
- DZi

thomas:

--- Quote ---when opening a write-protected file in the editor. The highlighting then is completely wrong. If the file is not write-protected, everything is fine.
--- End quote ---
This is no bug, it is intentional behaviour.


--- Quote ---it is sufficient to open the syntax-highlighting dialog and to terminate it with OK. Then this single write-protected file is shown with the correct highlighting until code::blocks is ended.
--- End quote ---
This is a bug.

Navigation

[0] Message Index

[#] Next page

Go to full version