I had another question! I've been working with another command:
@toggle-comment-node:
@language python
body=c.p.b.split('\n')
newBody = list()
for line in body:
if line.startswith('#'):
newBody.append(line.lstrip('#').lstrip(' '))
else:
newBody.append("# " + line)
c.p.b = '\n'.join(newBody)
Right now obviously that will only work if the languages single line
comment is #. Is there any way to get the current single line comment
character string programmatically?
On Tuesday, May 12, 2015 at 9:29:20 AM UTC-4, Edward K. Ream wrote:
>
>
> On Tue, May 12, 2015 at 7:46 AM, john lunzer <[email protected]
> <javascript:>> wrote:
>
> >
> These seem critical to me for various reasons but they aren't built in
> .
>
> Ctrl-A, Ctrl-Shift-parenleft and Ctrl-Home are bound to the three commands
> you mention. I use them all the time.
>
> EKR
>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" 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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.