Hi all !
I am new to Comodo Edit (5.0). Is there any feature of duplicating selected text like shortcut in Notepad++ CTRL+D.
Also, is there selected text highlighter in current open document ?
These are of the most important I guess. Please let me know if they are already in Comodo Edit that I don't know. Or, if not exists, I think you guys should make it. Coz, it makes very easy to work around.
Rubin
I am new to Comodo Edit (5.0). Is there any feature of duplicating selected text like shortcut in Notepad++ CTRL+D.
Ctrl+D in Notepad++ appears to be "Duplicate Current Line". Using the default keybindings in Komodo Ctrl+C copies the current line if there is no selection. You can then duplicate the line by pasting a copy in with Ctrl+V.
If you wanted to duplicate this functionality exactly, just record a macro with these two operations, save it to the Toolbox, then assign the Ctrl+D keybinding to it.
Also, is there selected text highlighter in current open document ?
I have no idea what you mean by this. Could you describe the behavior you're looking for?
Of course,
I was looking for :
1. is there any way that I can duplicate a row (or selected text). It would be nice to have a keyboard shortcut. Like, "select a block of code and copy it and then go to next line (or somewhere) and again paste it" is a hassel for me. I just want it done by just pressing CTRL+D (keyboard shortcut) which will duplicate that selected block or the line I am in.
2. is there an option which highlights all the occurrences in the current file when I select a variable/method name or text.
I hope I could clarify it. If not, you should get Notepad++ installed and open up a file (say php file). Suppose you have a variable used several times in this file. Select the variable (double click). You will see all the occurrences of that variables highlighted with some background color. This is what I mean. Btwn, Notepad++ is open source editor. I'm not the developer of Notepad++.
Regards,
What you're describing in point number 2 seems to be covered by this bug:
http://bugs.activestate.com/show_bug.cgi?id=32695
This bug is about highlighting search terms, but the ability to do the kind of automatic highlighting you suggest (i.e. by double-clicking) would probably require this feature to implemented first. Feel free to add comments in the bug.