I'm trying to replicate a behavior as close as possible to a package in Sublime Text. This concerns python, but I'm guessing it can be extended to other programming languages as well. I want to insert a breakpoint at the point at which I place a cursor. So in the current code block
for a in range(10): a+=1 b+=1 c+=1 What I want to do is if my cursor is anywhere on the c+=1 line, I want to place a breakpoint line directly above it using a quick keyboard shortcut to a clipping, so as to get this: for a in range(10): a+=1 b+=1 pdb.set_trace() c+=1 where pdb.set_trace() is the command that inserts a python breakpoint at that point in the code. I know I can create clippings and map keyboard shortcuts to them. I was wondering if it was possible to take it a step further so that* the clipping is inserted in the line above where the cursor is, and is agnostic of cursor location in the line, and also obeys the indentation in code. * Any help would be appreciated. Thank you. -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <https://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/bbedit.
