Advice about adding vxml support using plugins

Post Reply
stasuss
Posts: 1
Joined: 17.07.2018 09:14

Advice about adding vxml support using plugins

Post by stasuss »

Hi all!

just found out about that cool text editor and i am wondering whether i can make a set of plugins for vxml editing.

it is basically xml files BUT..

first of all i need code tree to show ID attributes of tags, can i alter the current behavior of code tree or may be i can make my own with a plugin?

i also need i highlighter of currently selected word in whole document. i believe it should be possible with a plugin?

also i need a complex feature of parsing whole folde of vxmls and getting a list of menus and be able to view menu definition in other file, while having its name written in another, like "goto definition" in code editors. would it be possible with a plugin?

and main feature i am wanting to develop - editing almost the same pieces (menus) in different files (up to 30, so splitview is not an option)
the thing is that menu tag in vxml is mostly used and i want to allow selecting some same menus in different files, mark them some how and open popup where user can edit them, but as template, because files can differ in prefixes for variables or ids.
so basically this plugin should edit multiple files from a shown popup. is it possible?
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Hi
you are welcome to make such plugins. To change/add code-tree, make a TreeHelper,-- install plugin CudaTree and read its readme.txt.
Maybe first you need vxml lexer (TreeHelper needs its lexer).
see tutorials in the readme dir of Cudatext.
http://wiki.freepascal.org/CudaText#Lexers_editing

what is "hiliter of currently selected word"?
see plugin "Hilite Occurences".

"complex feature": I dont understand, maybe it's possible.

"main feature": seems possible, you can get all editors by func ed_handles()
http://wiki.freepascal.org/CudaText_API
Post Reply