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.
20070128 Sunday January 28, 2007

UPDATED: LineTools module - Added select from, after, upto and to specified char actions

I have updated the Line Tools Module on my NetBeans update center described here.

What is new

Char Actions

Action Key bindingScreenshot
From Char Ctrl+Alt+, On MacOS Ctrl+Option+,Select from
After Char Ctrl+Alt+Shift+, On MacOS Ctrl+Option+Shift+,Select after
Upto Char Ctrl+Alt+Shift+. On MacOS Ctrl+Option+.Select upto
To Char Ctrl+Alt+. On MacOS Ctrl+Option+Shift+.

The char actions help you in selecting text from, after, upto or to the specified char (in a text field in the sidebar at the bottom of the editor) on the current line from the current caret position. You can use the char actions to either delete text (DELETE key), or modifying the text - uppercase (Alt+u u) or lowercase (Alt+u l) following the char action. These actions work somewhat like the t, T, f and F commands of Vi. You can type a numeric prefix nn, to find the nnth occurence of the char. If you are trying to operate on a digit you have to type ENTER key.

With the following text on the current line and caret at |

abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ|
invoking From Char Ctrl+Alt+, On MacOS Ctrl+Option+,, specifying c and Match Case selected results in:
abcdefghijklmnopqrstuvwxyzAB|CDEFGHIJKLMNOPQRSTUVWXYZ
invoking From Char Ctrl+Alt+, On MacOS Ctrl+Option+,, specifying c and Match Case unselected results in:
ab|cdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
invoking After Char Ctrl+Alt+Shift+, On MacOS Ctrl+Option+Shift+,, specifying c and Match Case selected results in:
abcdefghijklmnopqrstuvwxyzABC|DEFGHIJKLMNOPQRSTUVWXYZ
invoking After Char Ctrl+Alt+Shift+, On MacOS Ctrl+Option+Shift+,, specifying c and Match Case unselected results in:
abc|defghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ

With the following text on the current line and caret at |

|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
invoking Upto Char Ctrl+Alt+Shift+. On MacOS Ctrl+Option+., specifying v and Match Case selected results in:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstu|vwxyz
invoking Upto Char Ctrl+Alt+Shift+. On MacOS Ctrl+Option+., specifying v and Match Case unselected results in:
ABCDEFGHIJKLMNOPQRSTU|VWXYZabcdefghijklmnopqrstuvwxyz
invoking To Char Ctrl+Alt+. On MacOS Ctrl+Option+Shift+., specifying v and Match Case selected results in:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuv|wxyz
invoking To Char Ctrl+Alt+. On MacOS Ctrl+Option+Shift+., specifying v and Match Case unselected results in:
ABCDEFGHIJKLMNOPQRSTUV|WXYZabcdefghijklmnopqrstuvwxyz

Sources

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


Posted by sandipchitale ( Jan 28 2007, 08:18:58 PM PST ) Permalink Comments [7]










« January 2007 »
SunMonTueWedThuFriSat
 
2
3
4
5
6
7
8
12
15
16
17
18
19
20
21
22
24
25
26
27
29
31
   
       
Today

Get NetBeans 5.5

Locations of visitors to this page

Today's Page Hits: 290


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