Author Topic: Syntax Highlighting in Codesnippets Plugin  (Read 3741 times)

mariocup

  • Guest
Syntax Highlighting in Codesnippets Plugin
« on: May 03, 2007, 12:41:04 pm »
Hi Pecan,

it would be nice, if the codesnippets edtior uses the same highlighting as codeblocks editor. It is planned for future release to have support for different highlighting modes (Perl, C++ etc.) like codeblocks editor.

Bye,

Mario

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Syntax Highlighting in Codesnippets Plugin
« Reply #1 on: May 03, 2007, 02:13:16 pm »
Thanks for the suggestion.

I've desired that also. So I'll put it on the "look at" list.
Don't know when I can get to it though.

The CodeSnippets editor is very simple and bare boned.
It'd take a lot of work to get it anywhere near the strength of the CodeBlocks editor.

If you want the full features of the CB editor now, just grab the tree item and drag it into the Management or OpenFiles window of CB.

When you're through edititing, save the fine in CB, then grag it from the OpenFiles tree window and drag it back to the Snippets tree item.

If the file is large, you should consider Convert_to_File_Link so it resides on disk rather than memory.
« Last Edit: May 03, 2007, 02:22:32 pm by Pecan »

mariocup

  • Guest
Re: Syntax Highlighting in Codesnippets Plugin
« Reply #2 on: May 03, 2007, 03:04:32 pm »
Hi Pecan,

thanks for the hint using Open Files.

Bye,

Mario

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Syntax Highlighting in Codesnippets Plugin
« Reply #3 on: May 08, 2007, 09:38:52 pm »
Wouldn't it make more sense to be able to use CB editing component in the plugin?  Instead of having to remake one for each plugin?