On Sun, Nov 12, 2023 at 11:35 PM Félix <[email protected]> wrote:

🎉*I'm excited to share with you the latest update to LeoInteg - version
> 1.0.16.*
>
> This update is all about making your coding experience in VSCode smoother
> and matching the exact original behavior of Leo.
>

Congratulations, Félix, on your great work.

*The highlight of this release is a nifty new feature: now, you can enter
> commands while editing headlines. *🔥
>
> This means you can interrupt headline editing with other keyboard
> shortcuts and commands. *No need to press Enter anymore when you're done
> editing a headline*, just enter your next command as you would in Leo.
>

For anyone wondering why Félix is excited about this seemingly minor
feature, let me explain why this feature is significant and challenging.

*Significant:* leoInteg now does *exactly* the same as desktop Leo in this
regard. Previously, leoInteg would revert headline text to "newHeadline" if
you forgot to end editing with Enter.


*Challenging:* Handling editing within headlines is much trickier than you
might imagine. Within Leo, the relevant code starts this way:


# Tricky code: do not change without careful thought and testing.


This comment is an understatement ;-) Similarly, within leoInteg, editing
headlines only *seems *to be straightforward. Félix has done an immense
amount of work to give the *illusion* of simplicity.


Edward

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS1OQBJmm6An3fatrOBbqGUu-K1i6BOHWVwbaDiJ48Ro9A%40mail.gmail.com.

Reply via email to