User forums > Using Code::Blocks

[feature request]Display a read-only icon next to filename in the tab

<< < (3/4) > >>

Jenna:

--- Quote from: MortenMacFly on August 29, 2014, 05:06:35 pm ---
--- Quote from: jens on August 28, 2014, 12:22:07 am ---I attach two patches and a png-file for test.

--- End quote ---
Within your patch: Probably you are missing that an editor case have an read-only state, too -> ed->IsReadOnly(). This should be pout into the computation of the readOnly var...

--- End quote ---
You are right.
Patch attached.

I think we should also add a(n empty) SetReadOnly-function to editorbase-class.
What do you think ?

MortenMacFly:
Yes, that's a good idea.I've already patched my version of c::B because handling read only visibility is broken in many ways...

danselmi:
@jens: Any plans to apply in trunk? I'am using it since over a month without problems.

MortenMacFly:

--- Quote from: danselmi on October 07, 2014, 10:05:13 pm ---@jens: Any plans to apply in trunk? I'am using it since over a month without problems.

--- End quote ---
I can confirm it works on Windows.

Jenna:
I just committed ths and some other changes (mainly save pane-layout stuff) to sf (svn r9940 - 9949) in the hope it does not break anything.
Please test and report any issues (or fix them if you are a dev).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version