News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Added new features. How to share it?

Started by FlipFlop, May 07, 2013, 12:23:51 PM

Previous topic - Next topic

FlipFlop

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.

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

FlipFlop

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.


dmoore

#3
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.
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

Sertalk

Quote2) Wrapped a possibly bug of scintilla: FindColumn don't work.

Thanks for this future , it's that what I need .