Delete a numbered line..
-
I have a SQL file that is rather large im wondering is there a way to delete an entire line without the usual highlight and drag to top or bottom of that line…
Is there a way i can just type the LINE No and it deletes the entire line… ??
thanks in advance
-
Use
Ctrl+G
to GoTo and enter the line number (you may have to choose Line rather than Pos the first time), thenCtrl+D
to delete the line once you are on the line -
Thanks Peter that didnt seem to work CTRL+G went to page number but CTRL+D did nothing afterwards
-
@Roy-Booth
If you go toMacro->Modify Shortcut/Delete Macro...
from the main menu, then go to theScintilla commands
tab, you can choose the keybinding forSCI_LINEDELETE
, which deletes the currently selected line. On my setup,SCI_LINEDELETE
is bound toCtrl+Shift+L
, notCtrl+D
as indicated by PeterJones. -
Thank you mark will try that now :)
-
@Mark-Olson said in Delete a numbered line..:
@Roy-Booth
If you go toMacro->Modify Shortcut/Delete Macro...
from the main menu, then go to theScintilla commands
tab, you can choose the keybinding forSCI_LINEDELETE
, which deletes the currently selected line. On my setup,SCI_LINEDELETE
is bound toCtrl+Shift+L
, notCtrl+D
as indicated by PeterJones.Thank you again mark that did the trick :)
-
@Roy-Booth said in Delete a numbered line..:
but CTRL+D did nothing
Sorry, I was going from memory, on my phone,
just before bedafter my computer was already off for the night. I guess I shouldn’t post that late in the evening for me. :-) -
@PeterJones said in Delete a numbered line..:
I was going from memory, on my phone, just before bed.
Bad plan. :-)