Menu

#1 [Patch] Visual Studio-style folding lines for wxScintilla.

open
nobody
None
5
2008-07-22
2008-07-22
Anonymous
No

Credits to wxLearner.

The location to look at, is the block starting at line 2915 in src/sdk/wxscintilla/src/scintilla/src/Editor.cxx.

[Code]

PRectangle rcFoldLine = rcLine;
rcFoldLine.top = rcFoldLine.bottom - 1;

rcFoldLine.right = xStart + 4;
surface->FillRectangle(rcFoldLine, vs.styles[STYLE_DEFAULT].fore.allocated);

rcFoldLine.left = rcFoldLine.right + 4;
rcFoldLine.right += 8;
surface->FillRectangle(rcFoldLine, vs.styles[STYLE_DEFAULT].fore.allocated);

rcFoldLine.left = rcFoldLine.right + 4;
rcFoldLine.right += 8;
surface->FillRectangle(rcFoldLine, vs.styles[STYLE_DEFAULT].fore.allocated);

[/Code]

and it makes the folding in Code::Blocks looks like in this http://img139.imageshack.us/img139/6667/cbfoldzu9.jpg.

Could anyone KINDLY build this for windows?

I am coder for a different platform (PSP Toolchain/SDK), have no idea how to compile wxScintilla in windows.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.