Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
MiniDoc
oBFusCATed:
There is another problem: When scrolling I can see the inactive lines from the minidoc drawn over the line numbers of my main editor. But I can't make a screenshot to demonstrate the artefact.
danselmi:
--- Quote from: oBFusCATed on August 14, 2014, 12:04:36 am ---serious: The last line is white, probably because you're playing with the margins. See the screenshot: http://cmpt.benbmp.org/codeblocks/screens/minidoc.line.problem.png
--- End quote ---
--- Quote from: oBFusCATed on August 14, 2014, 12:22:36 am ---There is another problem: When scrolling I can see the inactive lines from the minidoc drawn over the line numbers of my main editor. But I can't make a screenshot to demonstrate the artefact.
--- End quote ---
First, I don't play with the margins. Again, apply the mentioned patch! The reason is that a cbStyledTextControl has some of the markers configured to visible symbols and colored lines.
--- Quote from: oBFusCATed on August 14, 2014, 12:04:36 am ---The serious problem is worsened when a line or more is deleted in the document, then multiple lines become white.
--- End quote ---
The white lines are gone with the mentioned patch. But the grey area will still be wrong in this cases. I have to update the MiniStc more regular after typing.
--- Quote from: oBFusCATed on August 14, 2014, 12:04:36 am ---minor: After the plugin is loaded and then the panel is shown it is empty.
--- End quote ---
What do you expect?
--- Quote from: oBFusCATed on August 14, 2014, 12:04:36 am ---annoying: The gray area is really ugly, because of the dark greyish spaces between the lines, see the screenshot.
...
Edit: Notepad++ seems to have no problem with the darker spaces between the lines. See this video https://www.youtube.com/watch?v=5Y6hE0SdgsQ
--- End quote ---
That's true, I have to look into it.
oBFusCATed:
--- Quote from: danselmi on August 14, 2014, 01:04:30 am ---
--- Quote from: oBFusCATed on August 14, 2014, 12:04:36 am ---minor: After the plugin is loaded and then the panel is shown it is empty.
--- End quote ---
What do you expect?
--- End quote ---
To see the active editor in the minidoc panel.
The steps to reproduce the problem are:
1. Open some project or files
2. Enabled the minidoc
3. View -> MiniDoc
At step 3 the minidoc is still empty.
About the patch: I'll see if I can find time to try it.
danselmi:
--- Quote from: oBFusCATed on August 14, 2014, 08:47:30 am ---... To see the active editor in the minidoc panel. ...
--- End quote ---
You are right. I didn't think about loading a plugin after startup. Thanks.
I just commited the fix.
danselmi:
--- Quote from: oBFusCATed on August 14, 2014, 12:04:36 am ---annoying: The gray area is really ugly, because of the dark greyish spaces between the lines, see the screenshot.
Edit: Notepad++ seems to have no problem with the darker spaces between the lines. See this video https://www.youtube.com/watch?v=5Y6hE0SdgsQ
--- End quote ---
It's a bug in wxScintilla, see here:
https://groups.google.com/forum/#!topic/scintilla-interest/FAI2HjSYlLk
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version