Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: FlipFlop on May 07, 2013, 12:23:51 pm
-
Hello,
I have added new features to codeblocks:
1) Copy/Cut and Paste now are the same of Visual Studio:
If no selection, copy/cut copy and cut all the line under caret. Then, paste insert a new line.
2) Wrapped a possibly bug of scintilla: FindColumn don't work.
How I share the modifications?
thanks.
-
Here is the guide how to make a patch: http://wiki.codeblocks.org/index.php?title=Creating_a_patch_to_submit_to_BerliOS_%28Patch_Tracker%29
And here is my personal opinion:
1. This is the most annoying feature of visual studio, so if you'd like to have it in C::B you'd need to make it configurable.
But I don't see a use case for it, we have the vastly superior Ctrl+D (Duplicate line or duplicate selection).
2. This should be reported to the Scintilla devs, we don't support it and we prefer to minimize our changes to it.
-
1) The functionality (cut/copy - paste) is very convenient if you have to copy entire lines from one point to another. Ctrl - D copy a line below and not in another point of the code. For my development team this feature is very much appreciated.
If it seems appropriate, I share these changes.
thanks,
FF.
-
Maybe something to put into the EditorTweaks plugin. Much better than putting into the core application.
Never mind -- this is a patch to existing copy/paste behavior so that wouldn't work. This should probably be a scintilla patch anyway.
-
2) Wrapped a possibly bug of scintilla: FindColumn don't work.
Thanks for this future , it's that what I need .