Sublime Forum

Jedit features I miss in sublime

#1

Just wanted to share these three jedit features I miss in sublime.

  1. Highlighter (quickly adds/removes arbitrary regex text highlights. The highlights are persistant through different syntax schemes and stored in editor preferences)
    http://www.simonzone.com/software/jedit_highlighter.png
  2. JDiff (powerful side-by-side meld\xdiff-like embeded visual code diff)
    http://wiki.cbr.washington.edu/qerm/sites/qerm/images/thumb/1/19/JEdit.PNG/300px-JEdit.PNG
  3. Hypersearch (compiles a list of all found entries (links) in a compact side-window with a short code references)
    http://cafe.elharo.com/wp-content/uploads/2008/06/02figresults1.png

PS. this is not a feature request as I think there is still a lot of effort needs to be put into improving and polishing current sublime functionality… just a short note.

Cheers,
N

0 Likes

PersistentRegexHighlight
Syntax highlighting for email address
#2

The highlighter is a cool feature for sure… I bet that wouldn’t be too hard for some of the Python gurus around here to whip out. Persistent highlighting… mmm… :smiley:

0 Likes

#3

I’ve been looking for something to work with the sublime text API so thought I would take a shot at the persistent highlighting today. I’ve never used jedit before, so if you tell me what you think, I’d appreciate it!

Thanks.
github.com/skuroda/PersistentRegexHighlight

0 Likes

#4

Hey skuroda,

Thanks for a quick response! Does your approach imply that I need to change my syntax highlight definition file and add those extra regex color types in there? Is it possible by means of sublime api just highlight a string with background #RRGGBB color pattern directly… sorry i’m not quite familiar with api tricks.

[quote=“skuroda”]I’ve been looking for something to work with the sublime text API so thought I would take a shot at the persistent highlighting today. I’ve never used jedit before, so if you tell me what you think, I’d appreciate it!

Thanks.
github.com/skuroda/PersistentRegexHighlight[/quote]

0 Likes

#5

For now, yes you need to specify colors in the color scheme file. I would say you could also use entries there, but I would try to avoid changing those as…well…we all like the color schemes we are using already. I was hoping for a way to easily set the colors. As far as I have seen with the API though, you have to specify a scope to select a region. I’ll probably go dive through some other plugins that do highlighting to see how they do it, as I’m hoping I just missed something. Let me know how it works though. I’m sure there are some bugs in it, but hey, learning experience right?

I’ll try to check back to this post to see how things are going, but if there are issues, please create them on the project. I have a few things I know I need todo, but I’m sure it’s not everything. Afterall, you know what functionality you are looking for!

0 Likes