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+Gto GoTo and enter the line number (you may have to choose Line rather than Pos the first time), thenCtrl+Dto 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 commandstab, you can choose the keybinding forSCI_LINEDELETE, which deletes the currently selected line. On my setup,SCI_LINEDELETEis bound toCtrl+Shift+L, notCtrl+Das 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 commandstab, you can choose the keybinding forSCI_LINEDELETE, which deletes the currently selected line. On my setup,SCI_LINEDELETEis bound toCtrl+Shift+L, notCtrl+Das 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. :-)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login