User forums > Using Code::Blocks

Editor help - does it work with macros ?

<< < (2/2)

Brane2:

--- Quote from: oBFusCATed on May 14, 2017, 11:11:17 pm ---
--- Quote from: Brane2 on May 14, 2017, 08:09:03 pm ---...and for another, it automatically appends \n at the end.

--- End quote ---
I hope you've meant '\0' and not '\n', because your statement is not correct!

About the original question:
It would have been good if we've provided the whole scintilla api to scripters, but we haven't.
This is what we have http://wiki.codeblocks.org/index.php/Scripting_commands#cbEditor
It seems that the only way to achieve what you want is to write a C++ plugin that does exactly what you want.
It shouldn't be that hard after you make the plugin compile. :)
If you like you can provide a patch that extends our script bindings to allow you to write such a tool using only scripting.

--- End quote ---

Thank you. Will look into Scintilla and C++. But OOP and me seem to live in different universes.  ::)
All that object pr0n, inheritance games, virtual parenting and friends with benefits baffles and disgusts me.

I've read Thinking in C++ several times in every direction and combination, several times backwards.

All I've left with was "Ringing In C++" ;o)

Still, one of these days I'll have to jump in those waters, so why not now ? ;o)

Thanks.

Navigation

[0] Message Index

[*] Previous page

Go to full version