I have a question regarding this very useful piece of software.
I am looking for a way to insert an exclamation mark (!) in front of marked lines and remove them again if needed. Either a function already in Notepad++ or a plug-in.
Any help would be greatly appreciated.
Stefan Kristensen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a similar situation by slightly different. I have a file type with extension .note where I keep notes for my work. I want it to have the same style as Python (block folding/unfolding fron indentation) but with a different set of Keyword highlights.
Any help would be appreciated.
Podi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That would be easy to do in a language where the comment line was indicated by "!".
As a test, create a user-defined language called, say, "Bang". Select "View > User Define Dialog...". Click "Create New..." and call the language "Bang" (or whatever you prefer). On the "Comment & Number" tab, enter "!" (without the quotes) in the large edit box within the Comment Line group. I also suggest changing the forground color to something like green. Close the dialog.
Now open up a test document. Select "Bang" (or whatever you chose) from the Language menu. Then mark a block. You can toggle the "!" mark three different ways: hot key (default is Ctrl-Q), right mouse button's popup menuitem ("Block comment/uncomment"), or Edit menuitem ("Block comment/uncomment").
You can change the language back to whatever it is at that point. The user-defined language is saved in userDefineLang.xml when you close Notepad++. --Joel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I have a question regarding this very useful piece of software.
I am looking for a way to insert an exclamation mark (!) in front of marked lines and remove them again if needed. Either a function already in Notepad++ or a plug-in.
Any help would be greatly appreciated.
Stefan Kristensen
Hi,
I have a similar situation by slightly different. I have a file type with extension .note where I keep notes for my work. I want it to have the same style as Python (block folding/unfolding fron indentation) but with a different set of Keyword highlights.
Any help would be appreciated.
Podi
That would be easy to do in a language where the comment line was indicated by "!".
As a test, create a user-defined language called, say, "Bang". Select "View > User Define Dialog...". Click "Create New..." and call the language "Bang" (or whatever you prefer). On the "Comment & Number" tab, enter "!" (without the quotes) in the large edit box within the Comment Line group. I also suggest changing the forground color to something like green. Close the dialog.
Now open up a test document. Select "Bang" (or whatever you chose) from the Language menu. Then mark a block. You can toggle the "!" mark three different ways: hot key (default is Ctrl-Q), right mouse button's popup menuitem ("Block comment/uncomment"), or Edit menuitem ("Block comment/uncomment").
You can change the language back to whatever it is at that point. The user-defined language is saved in userDefineLang.xml when you close Notepad++. --Joel
Thanks, this was exactly what I was looking for.
I appreciate it alot.
Stefan