Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Plugin for a Programming Language
igorevc:
Good afternoon.
I need to create a syntax highlight for my interpretted language that, unfortunatelly, isn't included on wxscintilla.
How can I create a syntax highlight?
Thank you for your attention.
igorevc:
Good afternoon.
I'll need that my plugin create a textbox that does the following:
- Keeps the history of recent used commands (throught a list)
- Has a button that, when pressed, executes the current command in the textbox and adds the command to the history
- Is dockable and in the top of the Code::Blocks logs
Can anyone help me out, at least with the textbox?
Thank you for your attention.
dmoore:
--- Quote from: igorevc on April 03, 2009, 08:14:21 pm ---Good afternoon.
I'll need that my plugin create a textbox that does the following:
- Keeps the history of recent used commands (throught a list)
- Has a button that, when pressed, executes the current command in the textbox and adds the command to the history
- Is dockable and in the top of the Code::Blocks logs
Can anyone help me out, at least with the textbox?
Thank you for your attention.
--- End quote ---
wxTextCtrl -the question is where do you want to put it? In a toolbar? In a dialog? Take a look at some of the plugins to see how they do it.
also for lexing languages not already supported by scintilla you have to write the lexer yourself. go to the scintilla site to learn how.
igorevc:
I would like to put it in a window, which would be docked near the logs.
I'm pretty sure that what I need is an editable listbox. Why? Because I want to write the command, push a button and store the used commands. If I want to use the same command, I need to dropdown the list and select it.
About the lexer, I'll postpone because it's not that important.
igorevc:
Good afternoon, dmoore.
I downloaded your PowerShell plugin, and played with it.
It seems that it is not yet capable to read and write commands in window mode, unless I'm doing something wrong.
For instance, I tried the cmd.exe and I can't write anything at all on the flatnotebook.
How can I (or you) fix it?
Thank you for your attention.
UPDATE:
It seems, now, that cmd.exe works but it doesn't take any input.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version