Author Topic: Sublime Tex  (Read 5275 times)

Offline blackbonez

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Sublime Tex
« on: April 05, 2010, 09:14:15 pm »
Sublime Text is also very good editor.

I like some features like Mini Map, full customisation, themes from TextMate... http://www.sublimetext.com/features

I'm now testing HippoEDIT and I really like it  ::)
« Last Edit: April 05, 2010, 09:16:14 pm by blackbonez »

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2181
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Sublime Tex
« Reply #1 on: April 06, 2010, 12:57:03 am »
Hi blackbonez,

welcome on forum and thanks for information about Sublime Text.

Generally, I have tested it before. Yes, it has nice interface, something which is different from most.
For me looks very similar to E-TextEditor, but feature set is more limited (no otlining, but maybe there are something else which I have not noticed, I have not spent too much time in digging into the functions). Most strongest feature is supporting of Text Mate bundles. But in HippoEDIT I do not plan currently to go in this direction. But who knows :)
Another windows text editor supporting text mate bundles is intype. Also very nice and simple, but some how slow in development.

About Mini Map feature - very impressive, but I, personally do not know how useful it is (it also do not show complete document for huge ones). Here we have already discussed this feature, but from another tool. In HE functionality of such Mini map implemented in Overview Var (right of the editor screen). It shows selections, current line positions, changed areas, bookmarks, errors etc, for complete document, but without mini preview.
Implementing of real bird view is not too complex, but performance critical, if you want to display long documents with complex syntax highlighting. So there should be real reason for me to implement this :).

Quote
I'm now testing HippoEDIT and I really like it
Thanks ;) if you will see that something is missing or done worser as in Sublime Text Editor for example, share this here, and I will try to correct or implement the feature next version.

Best regards,
Alex.

Szameks

  • Guest
Re: Sublime Tex
« Reply #2 on: April 08, 2010, 09:20:23 am »
SublimeText is very nice editor. It looks very cool, minimal and has a lot of features but the thing i left this app is missing some core features for me like drag'n'drop text with mouse, search'n'replace block of text in opened tabs (tho you can search'n'replace text in files in pointed folder), problems with encoding detection: i had to  use "open file with encoding" option  instead of draging files onto app which was quite time consuming. Some minor things like: application config via xml files - i had to use external font browser to check fonts on my system and some others.

IMO fun app to play with but not recommended as default editor for daily use.

Offline zhouzh2

  • Registered User
  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Sublime Tex
« Reply #3 on: April 11, 2010, 01:30:34 pm »
I just tested Sublime Text.  8)
It's a pretty cool editor, and fun to play with.
Quote
Most strongest feature is supporting of Text Mate bundles
It's supporting of TextMate bundle is nice but not as powerful as in E (snippets supported, shell command not). For me the most impressive feature of ST is the multiple-selections. (might be the best in all platform IMHO). Check it out here: multiple selections concepts. Although I'm still not clear about how to do multiple selections only by keyboard by it's implementation. :)
Quote
But in HippoEDIT I do not plan currently to go in this direction.
TextMate's snippets is really interesting, can be a worth improvement to our existing code-template. such as this one:

If I may, I will push Alex to go in this direction as hard as I can ;D  ;) joking  ;)
« Last Edit: April 11, 2010, 01:37:55 pm by zhouzh2 »

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2181
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Sublime Tex
« Reply #4 on: April 11, 2010, 02:35:54 pm »
Hi Angus,

thanks for good features highlighting!

Quote
It's supporting of TextMate bundle is nice but not as powerful as in E (snippets supported, shell command not).
I think the reason is that Sublime does not install/use cygwin for this...

Quote
It's supporting of TextMate bundle is nice but not as powerful as in E (snippets supported, shell command not). For me the most impressive feature of ST is the multiple-selections. (might be the best in all platform IMHO). Check it out here: multiple selections concepts. Although I'm still not clear about how to do multiple selections only by keyboard by it's implementation.
I have checked the blog post, and you are right - It is s a best from which I have seen. At least most powerful. Boxer text editor is also good in the area of multi selection, but it is not so good.
I have noted a link, and will use it as a guideline when implementing multi selection in HE. I like this feature very much, and it opens a lot of usage scenarios, so Would like to add it soon. But because of load by other planned features I do not know if I will be able to add this to 1.50.

Quote
TextMate's snippets is really interesting, can be a worth improvement to our existing code-template. such as this one:
Yes they are really interesting and really powerful. When I wrote that do not plan to go in this direction I mean I do not plan to integrate text mate bundles. But I will try to enhance HE templates to be as powerful as TextMate and will check TextMate bundle for ideas for HE engine.
The example you shown is cool :) Can you paste here also text of snippet used to describe this (I have not noticed first that top and bottom === lines are also grow!)?
I have seen some when another idea, called wrapping comments. When comments wrap automatically when you edit them (leaving commenting signs). But this was not a snippet functionality.

Offline zhouzh2

  • Registered User
  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Sublime Tex
« Reply #5 on: April 12, 2010, 04:50:46 pm »
Quote
Can you paste here also text of snippet used to describe this
Of course. :)
I don't own a Mac nor TextMate. However I believe the following code should do able to do this little trick.
Code: [Select]
// ==${1/./=/g}==
// = ${1:Banner} =
// ==${1/./=/g}==
$0
$1 means the where the cursor should appear a when the snippet is called. ${1:Banner} makes the word "Banner" appear as selected.
${1/./=/g} means this place should be same as the word Banner, plus doing a regex replace: replace any single character to "=". 'g' is an option in this replace. here it means "global". without the g, the code would appear as:
Code: [Select]
// ===anner==
// = Banner =
// ===anner==
$0 is where the cursor should be after pressing a shortcut in $1, and ends the snippet.
More information can be found in TextMates documents.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2181
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Sublime Tex
« Reply #6 on: April 12, 2010, 05:10:47 pm »
Thanks for explanation and link. Very powerful!
I think it will be useful to have something like this in HE also. Some when ;) I planned to extend HE template engine also and probably will go such direction.