This is a must-have feature. Spent a lot of time tinkering with the ColumnMode plugin for Gedit; success appeared distant. (Thanks to devs of ColumnMode plugin -- it does allow vertical lengthening of cursor to simultaneously edit multiple lines, and works well for that. But OP wanted block selection, not the same thing.)
Put more time into researching text editors and came up with jEdit, in which block selection is native (www.jedit.org/users-guide/selection.html), and it's in the repo, "jedit."
So far it's quick and powerful, and has an array of plugins. (New user, but I've already installed Whitespace and BufferTabs.)
jEdit appears to be the best text editor I've ever used. Would like to see at least the block selection feature incorporated into Gedit.
Last edited by u2nTu; February 14th, 2011 at 04:20 PM. Reason: Make clear that ColumnMode plugin does not do block selection, the feature OP wants.
Column mode works flawlessly (except block selection) in gedit.
Get the latest plugin (columnmode-0.1.1.tar.gz) from http://live.gnome.org/Gedit/Plugins/ColumnMode.
Unzip and apply the patch you can get on the same site.
Then copy the two files to /usr/lib/gedit2/plugins and enable the plugin in gedit.
Then go to Edit > Column mode to activate
Press left-shift and down-arrow at same time to mark the lines for column insert/delete.
Voila.
Actually there is a better plugin called Multi Edit. Install gedit-plugins and then just enable the plugin. The column-mode plugin is obsolete.
Edit: There was actually two plugins called that, one with a hyphen. This was the one you want.
http://jon-walsh.com/journal/multi-edit/
Last edited by ThomasNovin; February 23rd, 2011 at 11:06 AM.
I've used the column plug-in in gedit but it's not very user-friendly.
I have to admit that jedit works very well. I changed to it from gedit.
I simply used Geany instead of Gedit .
It has this feature and so many others . . .
Way late, but valuable, there are two other editors you may wish to examine.
THE (The Hessling Editor) is a copy of VM/CMS Xedit used on IBM mainframes. It has hundreds of built in functions and supports EASY macroing.
X2 is a text window cousin of SlickEdit (they have common ancestors). Again, hundreds of builtin functions and almost identical macroing to THE. www,tangbu.com
For both of these editors, the ease of macro writing is that the macros are written in Rexx (Regina or ooRexx) both also free. Truthfully, once you use Rexx, you'll laugh at the other scripting languages.
Wes
Old thread.
Closed.
Bookmarks