Syntax highlighting

105 views
Skip to first unread message

Patrick Bouffard

unread,
Jan 7, 2010, 1:24:41 PM1/7/10
to keepnote
One feature I'd love to have is syntax highlighting--not for source
code though (but that might also be interesting for code snippets). I
used to use Nedit for all my notes and I setup a custom syntax
highlighting mode where anywhere I wrote TODO it would highlight it in
red bold text, DONE in green bold, IDEA in blue, etc. etc. Dates were
automatically formatted as well (I tended to use those as headers). It
helped to avoid interrupting my stream of consciousness.

Anyway is this something I could implement as an extension? I took a
quick look at the existing extensions and they seem to be more batch-
oriented; this would have to be implemented at a lower level I expect.

Or, perhaps it could most easily be done by using GtkSourceView as the
editor widget?

The other thing I used constantly in Nedit was the incremental search--
same questions for that: Could it be implemented as an extension? Or
by modifying the editor widget?

Keep up the great work,
Pat

Matt Rasmussen

unread,
Feb 7, 2010, 4:59:22 PM2/7/10
to keep...@googlegroups.com
These are great ideas.

On Thu, Jan 7, 2010 at 1:24 PM, Patrick Bouffard
<patrick.m...@gmail.com> wrote:
> One feature I'd love to have is syntax highlighting--not for source
> code though (but that might also be interesting for code snippets). I
> used to use Nedit for all my notes and I setup a custom syntax
> highlighting mode where anywhere I wrote TODO it would highlight it in
> red bold text, DONE in green bold, IDEA in blue, etc. etc. Dates were
> automatically formatted as well (I tended to use those as headers). It
> helped to avoid interrupting my stream of consciousness.
>
> Anyway is this something I could implement as an extension? I took a
> quick look at the existing extensions and they seem to be more batch-
> oriented; this would have to be implemented at a lower level I expect.

I will over time open up the editor to extension manipulation, so that
people can implement these kind of ideas.

> Or, perhaps it could most easily be done by using GtkSourceView as the
> editor widget?

I will take a look at that module.

> The other thing I used constantly in Nedit was the incremental search--
> same questions for that: Could it be implemented as an extension? Or
> by modifying the editor widget?

I think incremental search is something that should be added
eventually. The find dialog box that exists now is just a place
holder until something nicer is implemented (like the find bar in
firefox).

Thanks for your ideas,
Matt

> Keep up the great work,
> Pat
>

> --
> You received this message because you are subscribed to the Google Groups "keepnote" group.
> To post to this group, send email to keep...@googlegroups.com.
> To unsubscribe from this group, send email to keepnote+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/keepnote?hl=en.
>
>
>
>

Reply all
Reply to author
Forward
0 new messages