Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Code Alignment Tool
ollydbg:
--- Quote from: danselmi on December 08, 2009, 10:55:58 pm ---A friend of mine changed the Aligner plugin:
* don't add a newline at the end of a "new aligned" block
* possibility to add other chars/strings to align to
* store/load the most used chars/strings in the config.
--- End quote ---
Thanks!!!
should do changes in two places to let it build successfully under MinGW.
First, the include path should be
..\..\..\include\wxscintilla\include
second
In line 245 of Aliger.cpp, the statement should be
--- Code: --- control->SetSelection(pos_start, pos_end);
--- End code ---
MortenMacFly:
--- Quote from: ollydbg on December 09, 2009, 06:00:42 am ---First, the include path should be
..\..\..\include\wxscintilla\include
[...]
--- Code: --- control->SetSelection(pos_start, pos_end);
--- End code ---
--- End quote ---
Notice that he seems to use the scintilla branch. There it is correct as the include path has moved and the method call, too.
ollydbg:
Thanks for the hint. I noticed that there are two branches currently been developed.
One is
svn://svn.berlios.de/codeblocks/branches/wxpropgrid_debugger
and the other is
svn://svn.berlios.de/codeblocks/branches/scintilla
:D
danselmi:
I have one futher improvement:
In Aligner.cpp replace both
--- Code: ---find_first_of
--- End code ---
by
--- Code: ---Find
--- End code ---
so it will search for the whole string to align to(not only the first char).
MortenMacFly:
Any chances that this may migrated into the EditorTweaks plugin (see here: http://forums.codeblocks.org/index.php/topic,11540.msg79486/topicseen.html#msg79486)???
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version