hi,
would it be possible to add an "Go to line ..." context menu entry (or hotkey) to numbers, which could be a line number, i.e.:
123
62300
but not
number > total lines
12.34
12,34
etc.
and selecting it would let you jump directly to the specific line (no further user input needed).
however the "but not" condition is not so important, but i would really like to have this feature, because i (and others too i think ;-) often jump to line numbers which are declared in the same text.
thank you
tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Rephrased: selecting a number which is not greater than the total number of lines would allow a context menu option to jump to the line with that selected number.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Save the following line as user command "Goto Line" in Run dialog and assign the shortcut you want :
notepad++ -n$(CURRENT_WORD) $(FULL_CURRENT_PATH)
Now select a number in your document then type the assigned shortcut - you can go whereever you want !
You can even add your user command in the context menu if you want.
Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
would it be possible to add an "Go to line ..." context menu entry (or hotkey) to numbers, which could be a line number, i.e.:
123
62300
but not
number > total lines
12.34
12,34
etc.
and selecting it would let you jump directly to the specific line (no further user input needed).
however the "but not" condition is not so important, but i would really like to have this feature, because i (and others too i think ;-) often jump to line numbers which are declared in the same text.
thank you
tom
goto %programfiles%\notepad++\ and open contexmenu.xml and add anywhere this lines!
<Item id="43004"/>
now you have a contexmenu option.
and how does this solve the problem as asked?
Rephrased: selecting a number which is not greater than the total number of lines would allow a context menu option to jump to the line with that selected number.
Save the following line as user command "Goto Line" in Run dialog and assign the shortcut you want :
notepad++ -n$(CURRENT_WORD) $(FULL_CURRENT_PATH)
Now select a number in your document then type the assigned shortcut - you can go whereever you want !
You can even add your user command in the context menu if you want.
Don