Re: mc macro recording/editing issues



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 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]