Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 17120, Selection Margin 2.2 (with line numbers)

by Karl Tauber Email: Anonymous

Adds a selection margin to the left of each editor pane and displays line numbers within it.

Version 2.2 works together with the TextDragDrop OpenTool.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For JBuilder, Version 4.0  to 7.0 1528 downloads
Copyright: Open Source or other

Size: 41,890 bytes
Updated on Sun, 03 Nov 2002 03:24:39 GMT
Originally uploaded on Thu, 29 Nov 2001 14:29:00 GMT
SHA1 Hash: 71831A3495B94F6CA219DE64380651A0FF112F56
MD5 Hash: 3E9EC762EBD881AAD466DED5A2803E61

    Explore the files in this upload

The SelectionMargin OpenTool adds a selection margin to the left of each editor pane. It has special selection behavior, which is mostly the same as Microsoft Word. It allows you to easily select whole lines and therefore makes it easier to copy, cut or delete whole lines. The selection margin is also used to display line numbers.

This OpenTool works together with the TextDragDrop OpenTool. It allows you to drop text onto the selection margin. The dropped text will be inserted at the beginning of the line.

Please visit the URL above to take a look at some screen shots or to download the source code.


When the mouse pointer is moved into the selection margin, it changes to a select arrow that points up and to the right (a mirror image of the standard select arrow).

Do any of the following:
- Click in the margin to select the entire line to the right of the mouse pointer.
- Click in the margin and move the mouse pointer to select multiple consecutive lines.
- While holding down SHIFT, click in the margin and move the mouse pointer to extend a selection.
- While holding down CTRL, click anywhere in the margin to select the entire file. (This is equivalent to choosing the "Select All" command from the "Edit" menu.)


You can enable/disable the line number display in the Editor Options dialog. A faster way to toggle the line number display is the popup menu of the selection margin. Right-click into the selection margin to get it.


Version 2.2 (2002-04-08)
- Support for the TextDragDrop OpenTool added.

Version 2.01 (2002-01-28)
- Linux createCustomCursor() bug fixed.

Version 2.0 (2002-01-24)
- Displays line numbers in the selection margin.
- The selection margin is now installed into almost all editor panes (except the Diff View).
- Split view support.
- Added support for the "About OpenTools" OpenTool.

Version 1.1 (2001-11-24)
- Select the entire file while holding down CTRL.

Version 1.0 (2001-11-18)
- Initial release.


1. Quit JBuilder.
2. Copy the SelectionMarginOpenTool.jar file into the \lib\ext directory.
3. Restart JBuilder.


1. Quit JBuilder.
2. Delete the SelectionMarginOpenTool.jar file from the \lib\ext directory.
3. Restart JBuilder.


This OpenTool has been tested with JBuilder 4, 5, 6 and 7.


SelectionMargin OpenTool is free software, licensed under the GNU General Public License (GPL).

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04