sandip chitale's blog    Sandip Chitale's blog (scblog)
NOTE: I have moved many of my modules to NetBeans Plugin Portal . Please check there for latest versions of modules described on this blog.
20061110 Friday November 10, 2006

Rectangular Edit Tools module uploaded

I have uploaded the Rectangular Edit Tools module to my Netbeans update center described here.

This module installs the following actions in Edit:Rectangle Menu and Rectangle toolbar.

Action

Icon

Description

Rectangular Cut ( Ctrl+Alt+X )  Rectangular Cut  Cuts the contents of rectangle defined by the selection
Rectangular Copy ( Ctrl+Alt+C )  Rectangular Copy  Copies the contents of rectangle defined by the selection
Rectangular Paste ( Ctrl+Alt+V )  Rectangular Paste  Pastes the contents of rectangle defined by the selection
Rectangular Delete ( Ctrl+Alt+MINUS )  Rectangular Delete  Deletes the contents of rectangle defined by the selection
Rectangular Clear ( Ctrl+Alt+SPACE )  Rectangular Clear  Replace the contents of rectangle defined by the selection with spaces
Rectangular Replace ( Ctrl+Alt+R )  Rectangular Replace  Replace the contents of rectangle defined by the selection with user specified string

Note: The leading column of the rectangle defined by the selection has to be less than the trailing column.

Example

Text and Selection
Action Text in editor Clipboard
0123456789
01
23456789
0123456789
0123456
789
0123456789
 Rectangular Cut Rectangular Cut
0123456789
01789
01789
01789
0123456789
2345
2345
2345
0123456789
01
23456789
0123456789
0123456
789
0123456789
 Rectangular Copy Rectangular Copy
0123456789
0123456789
0123456789
0123456789
0123456789
2345
2345
2345
0123456789
01
23456789
0123456789
0123456
789
0123456789
 Rectangular Paste Rectangular Paste with text in clipboard

--
++++
*****

0123456789
01--789
01++++789
01*****789
0123456789
--
++++
*****
0123456789
01
23456789
0123456789
0123456
789
0123456789
 Rectangular Delete Rectangular Delete
0123456789
01789
01789
01789
0123456789
No change
0123456789
01
23456789
0123456789
0123456
789
0123456789
 Rectangular Clear Rectangular Clear
0123456789
01 789
01 789
01 789
0123456789
No change
0123456789
01
23456789
0123456789
0123456
789
0123456789
  Rectangular Replace Rectangular Replace with user sepcified text

---
0123456789
01---789
01---789
01---789
0123456789
No change

Sources

TODO

  • Rectangular selection highlight

DISCLAIMER: This module is experimental. So no guarantees. Use the module at your own risk. 


Posted by sandipchitale ( Nov 10 2006, 05:47:36 PM PST ) Permalink Comments [18]










« November 2006 »
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
8
9
12
13
14
16
17
18
19
20
21
22
23
24
26
27
28
29
  
       
Today

Get NetBeans 5.5

Locations of visitors to this page

Today's Page Hits: 481


XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

scblog
scblog