Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4634050
By: hkubba
Yes, This would be a good implementation, so this would be what i need in setSpaces,
and thinking about it again may be we can generalize the functionality
to setChars(char,Min,Max,threshold), so for an example if a java programmer
wants to be sure he/she don't have 2 or more semi commas, for example:
if (appData == null){
return false;;
}
you can say setChars(';',0,1,2)
so for simplicity you might have 3 function: setBlanks,setSpaces and setChars
you can use setChars to do the functionality of the first 2, but they are there
if you don't know how to do that
Regarding your question about where to use copytoClipBoard, say you have an
SQL file which contain many amny active and remarked lines, something like:
insert into ROLE(ROLE_ID,NAME) values(0001,'Administrator');
--insert into ROLE(ROLE_ID,NAME) values(0002,'Power User');
--insert into ROLE(ROLE_ID,NAME) values(0003,'Manager');
insert into ROLE(ROLE_ID,NAME) values(0004,'Commercial User');
and you want to copy only the active lines to run them, what i do know is
* copy '--' to clipboard
* hide lines using tidyfx vis
* select all
* copy visible selection (using Tidy also)
* paste in new text documnet
* copy all the text again
* replace text in the old document
all those steps can be simply done by selecting all lines and choosing:
cutToClipBordWhenContain('--')
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
|