mc macro recording/editing issues
Sergey Naumov
sknaumov at gmail.com
Wed Sep 20 09:28:02 UTC 2017
Thanks, Yury.
But I will try to use macro too.
In the code (usermenu.c: expand_format()) I see that despite mcedit manual
mentions %c, it is not actually supported.
Could I fix %c and also add %C as file offset (WEdit.buffer.curs1)? Should
I file a bug for it?
Thanks,
Sergey.
2017-09-19 20:16 GMT+03:00 Yury V. Zaytsev <yury at shurup.com>:
> On Tue, 19 Sep 2017, Sergey Naumov wrote:
>
> Also is there a way for macros to get cursor position in a file in a form
>> of offset from the beginning of the file?
>>
>> What I'm trying to achieve is to get some sort of autocompletion for
>> golang using gocode, and it is done like this:
>>
>
> I think you might get luckier with mcedit/etags integration, not sure if
> there it anything etags-like for go, but if I were you, I'd rather look
> into this...
>
> --
> Sincerely yours,
> Yury V. Zaytsev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20170920/4a8dad3c/attachment.html>
More information about the mc-devel
mailing list