@scresto09 commented on this pull request.


> @@ -162,14 +163,14 @@ void cmd_del_word_left(CmdContext *c, CmdParams *p)
 void cmd_undo(CmdContext *c, CmdParams *p)
 {
        gint i;
-       gint pos = SSM(p->sci, SCI_GETCURRENTPOS, 0, 0);
+       start_undo(c);
        for (i = 0; i < p->num; i++)
        {
                if (!SSM(p->sci, SCI_CANUNDO, 0, 0))
                        break;
                SSM(p->sci, SCI_UNDO, 0, 0);
        }

OK, I made these changes and I am now using `goto_nonempty()`.
This is probably the simplest way to approach VIM's behavior.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1328#discussion_r1605101707
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/1328/review/[email protected]>

Reply via email to