Just stumbled across what seems to be a non-free Windows-only text editor called "Sublime Text": http://www.sublimetext.com/ . Wouldn't normally post about something like this here (and non-free editors don't interest me much anyway), but the fellow who develops it has a somewhat interesting blog, coincidentally mentioning python embedding recently: http://www.sublimetext.com/blog/articles/extending-with-python .
Anyway, some neat screenshots and possible ideas for Geany. SublimeText has some interesting UI ideas.
On Tue, 8 Apr 2008 10:32:29 -0400, "John Gabriele" jmg3000@gmail.com wrote:
Just stumbled across what seems to be a non-free Windows-only text editor called "Sublime Text": http://www.sublimetext.com/ . Wouldn't
"Sublime Text requires Windows Vista, Windows XP, or Windows 2000 (with DirectX 9 installed)." Wow, a text editor which requires DirectX 9? Apart from the fact that I don't care much about Windows applications, a text editor and DirectX...lol. This and the fact that it's non-free stopped me from any further investigation.
normally post about something like this here (and non-free editors don't interest me much anyway), but the fellow who develops it has a somewhat interesting blog, coincidentally mentioning python embedding recently: http://www.sublimetext.com/blog/articles/extending-with-python .
Hmm, he only talks about Python and Unicode paths on Windows, right? How would it help us?
Regards, Enrico
On Thu, Apr 10, 2008 at 11:35 AM, Enrico Tröger enrico.troeger@uvena.de wrote:
On Tue, 8 Apr 2008 10:32:29 -0400, "John Gabriele" jmg3000@gmail.com wrote:
normally post about something like this here (and non-free editors don't interest me much anyway), but the fellow who develops it has a somewhat interesting blog, coincidentally mentioning python embedding recently: http://www.sublimetext.com/blog/articles/extending-with-python .
Hmm, he only talks about Python and Unicode paths on Windows, right? How would it help us?
Well, his blog has a couple of articles about editors in general. If you scroll down on the main blog page, some interesting features that stand out to me are:
1. Using an embedded text search box (like Geany's Toolbar Search field) instead of a dialog box. (Scribes does this as well.)
2. Multiple editing panes with minimal distraction. (The photo on the blog shows 5 panes, both monitors full-screen). (I realize that split-pane is a feature for Geany that's been requested and discussed in the past.) Of course, Geany already has a nice View menu item to toggle extra widgets.
3. Looks like Sublime has some things in common with TextMate. The blog indicates it can read TextMate's "syntax files" (not sure exactly what that means). TextMate is pretty popular right now on Mac OS X. I've seen some pretty neat colorschemes on TextMate, many of which are user-contributed. Might be pretty interesting if Geany, TextMate, and Sublime could all interchangably use the same colorscheme files. Good way to get a lot of free colorschemes. :)
Also, Sublime has a pretty neat ultra-zoomed-out file view that might just be a novelty, or might be useful. Looks like the sort of thing that could be done with a Geany plug-in and some graphics code.
Anyway, just some ideas that I thought Geany users might find interesting to chat about.
---John
On Thu, 10 Apr 2008 13:28:46 -0400 "John Gabriele" jmg3000@gmail.com wrote:
- Using an embedded text search box (like Geany's Toolbar Search
field) instead of a dialog box. (Scribes does this as well.)
If it is something like firefox search I don't think it have much benefits over dialog box. The only reason to have such thing if you are using tiled window manager like "awesome" or "ion3".
- Multiple editing panes with minimal distraction. (The photo on the
blog shows 5 panes, both monitors full-screen). (I realize that split-pane is a feature for Geany that's been requested and discussed in the past.) Of course, Geany already has a nice View menu item to toggle extra widgets.
It would be nice to see this in geany, but generaly panes are not very usefull in normal editing. Exception if it is some kind diff tool.
- Looks like Sublime has some things in common with TextMate. The
blog indicates it can read TextMate's "syntax files" (not sure exactly what that means). TextMate is pretty popular right now on Mac OS X. I've seen some pretty neat colorschemes on TextMate, many of which are user-contributed. Might be pretty interesting if Geany, TextMate, and Sublime could all interchangably use the same colorscheme files. Good way to get a lot of free colorschemes. :)
This is something totaly useless, at least for me. Who needs a lot of colorschemes? Only one but really good is needed.
Also, Sublime has a pretty neat ultra-zoomed-out file view that might just be a novelty, or might be useful.
Mmm, how this feature can be any usefull in real life?
Anyway, just some ideas that I thought Geany users might find interesting to chat about.
I didn't download it but something tell me it is not worth using even if it was free. Homepage contains only marketing bullshit. Either documentation is poor or editor doesn't have a lot of features.
p.s. As for python interface for plugin, it is not very difficult to make one, the only reason we don't have it - no one care enough to program it.
Yura Siamashka wrote:
- Multiple editing panes with minimal distraction. (The photo on the
[...]
It would be nice to see this in geany, but generaly panes are not very usefull in normal editing. Exception if it is some kind diff tool.
Actually very useful, you can look at some text/code as a reference for creating code. e.g.
* view SQL table definition while coding a class, HTML form, etc. * view HTML form while coding PHP class to receive it * view C++ class declaration while coding implementation of class
etc.
This is probably the feature I felt the loss of most, when jumping from Notepad++ on Windows to Geany on Linux. (However, it did encourage me to write some more scripts for code generation... :-) -- Ross McKay, Toronto, NSW Australia "Nobody ever rioted for austerity" - George Monbiot
On Thu, Apr 10, 2008 at 5:31 PM, Yura Siamashka yurand2@gmail.com wrote:
On Thu, 10 Apr 2008 13:28:46 -0400
"John Gabriele" jmg3000@gmail.com wrote:
- Using an embedded text search box (like Geany's Toolbar Search
field) instead of a dialog box. (Scribes does this as well.)
If it is something like firefox search I don't think it have much benefits over dialog box. The only reason to have such thing if you are using tiled window manager like "awesome" or "ion3".
If the editor pops up a dialog box, it tends to obscure the text that you're working on.
- Multiple editing panes with minimal distraction. (The photo on the
blog shows 5 panes, both monitors full-screen). (I realize that split-pane is a feature for Geany that's been requested and discussed in the past.) Of course, Geany already has a nice View menu item to toggle extra widgets.
It would be nice to see this in geany, but generaly panes are not very usefull in normal editing. Exception if it is some kind diff tool.
Actually, many users find this feature *very* useful (Ross points out some good examples for why this is in another reply).
I forgot to mention though that, as has been mentioned here before, you can run geany with the `-i` option to get a whole separate instance (and thus have 2 windows side-by-side), but the problem is you still have two full sidebars. Even at 1600x1200 you can't comfortably get two vertical panes on the screen at the same time without them overlapping.
- Looks like Sublime has some things in common with TextMate. The
blog indicates it can read TextMate's "syntax files" (not sure exactly what that means). TextMate is pretty popular right now on Mac OS X. I've seen some pretty neat colorschemes on TextMate, many of which are user-contributed. Might be pretty interesting if Geany, TextMate, and Sublime could all interchangably use the same colorscheme files. Good way to get a lot of free colorschemes. :)
This is something totaly useless, at least for me. Who needs a lot of colorschemes? Only one but really good is needed.
Trouble is, everyone's "one really good one" is different. ;)
Also, Sublime has a pretty neat ultra-zoomed-out file view that might just be a novelty, or might be useful.
Mmm, how this feature can be any usefull in real life?
Not sure. Never tried it. Might be useful for mouse users? You can probably grab the rectangle there and drag it up and down to scroll to easily-recognizable parts of your file.
---John
On Fri, 11 Apr 2008 00:09:13 -0400 "John Gabriele" jmg3000@gmail.com wrote:
I forgot to mention though that, as has been mentioned here before, you can run geany with the `-i` option to get a whole separate instance (and thus have 2 windows side-by-side), but the problem is you still have two full sidebars. Even at 1600x1200 you can't comfortably get two vertical panes on the screen at the same time without them overlapping.
That is the main reason why It is not as great as it seems. Second pane takes a lot of space. If it is too small it dosn't help, if it is big it obscure editing window to much. IMHO, really interesting thing is multimonitor configuration. Where different panes stay at different monitors.
I've been using Ulipad[1] yesterday, and code autocompletion was amazing, at least with Python.
It also has the "split window" option, in vertical and horizontal way, something that some of us needs often.
There are some interesting things, i.e. code snippets support, and ftp/shared folder support for editing remote files, but I didn't have time to test it.
As a drawback, it is not as fast as geany, mainly (IMHO) because is implemented in python+wxWidget, which also makes it look "out" of the look and feel of my desktop.
Maybe we can import some ideas ;-)
Regards,
nat:.
On Fri, 11 Apr 2008 00:09:13 -0400, "John Gabriele" jmg3000@gmail.com wrote:
On Thu, Apr 10, 2008 at 5:31 PM, Yura Siamashka yurand2@gmail.com wrote:
On Thu, 10 Apr 2008 13:28:46 -0400
"John Gabriele" jmg3000@gmail.com wrote:
- Using an embedded text search box (like Geany's Toolbar Search
field) instead of a dialog box. (Scribes does this as well.)
If it is something like firefox search I don't think it have much benefits over dialog box. The only reason to have such thing if you are using tiled window manager like "awesome" or "ion3".
If the editor pops up a dialog box, it tends to obscure the text that you're working on.
You can move the dialog box ;-). I really think the toolbar search field is enough for fast searching (yes, reverse incremental searching will come, be patient). For any more advanced searching there is the dialog. I don't think we need to change anything at this point.
- Multiple editing panes with minimal distraction. (The photo
on the blog shows 5 panes, both monitors full-screen). (I realize that split-pane is a feature for Geany that's been requested and discussed in the past.) Of course, Geany already has a nice View menu item to toggle extra widgets.
It would be nice to see this in geany, but generaly panes are not very usefull in normal editing. Exception if it is some kind diff tool.
Actually, many users find this feature *very* useful (Ross points out some good examples for why this is in another reply).
Yesterday, I told this to somebody on IRC (you?), Geany just wasn't designed for multiple editing panes (mainly because I don't like them very much) and so, adding them now causes some work to get it working.
I forgot to mention though that, as has been mentioned here before, you can run geany with the `-i` option to get a whole separate instance (and thus have 2 windows side-by-side), but the problem is
Of course, this is not the same but it gets very close to it. IIRC programs like devilspie can restore window positions between sessions, kwin(KDE's window manager) probably can it, too.
you still have two full sidebars. Even at 1600x1200 you can't
You know you can show/hide particular widgets as you want.
comfortably get two vertical panes on the screen at the same time without them overlapping.
Hmm, the difference between in horizontal space between split panes and two Geany instances is mostly the sidebar which can be hidden if necessary and the window borders. The window borders can be adjusted by the GTK theme, IIRC.
- Looks like Sublime has some things in common with TextMate.
The blog indicates it can read TextMate's "syntax files" (not sure exactly what that means). TextMate is pretty popular right now on Mac OS X. I've seen some pretty neat colorschemes on TextMate, many of which are user-contributed. Might be pretty interesting if Geany, TextMate, and Sublime could all interchangably use the same colorscheme files. Good way to get a lot of free colorschemes. :)
This is something totaly useless, at least for me. Who needs a lot of colorschemes? Only one but really good is needed.
Trouble is, everyone's "one really good one" is different. ;)
Sure. Multiple available colour schemes might be useful especially for new users so they can choose one. But a) to make this possible in an easy and user-friendly way, some code rewrite is necessary which won't take place in the next two weeks b) to be honest I don't care much about compatibility with any non-free programs (regarding the interchangably).
Also, Sublime has a pretty neat ultra-zoomed-out file view that might just be a novelty, or might be useful.
Mmm, how this feature can be any usefull in real life?
Not sure. Never tried it. Might be useful for mouse users? You can probably grab the rectangle there and drag it up and down to scroll to easily-recognizable parts of your file.
IMO this is more a job for external programs to increase accessibility. At least this is no reason for any DirectX crap in a text editor, IMHO. There are little programs which provide some kind of magnifier to zoom in in particular parts of the screen content. This is IMO the way it should go.
Regards, Enrico
On Fri, 11 Apr 2008 00:31:23 +0300 Yura Siamashka yurand2@gmail.com wrote:
- Multiple editing panes with minimal distraction. [...]
It would be nice to see this in geany, but generaly panes are not very usefull in normal editing. Exception if it is some kind diff tool.
I agree with Ross. I use a "split view" very often. Every time you use a new API, I open the header to have a look at it.
As long as you don't have alternatives like some hover notes with (for example) the doxygen / javadoc comment like in Ecplise, a "split view" is IMO more than a "nice to have".
This is something totaly useless, at least for me. Who needs a lot of colorschemes? Only one but really good is needed.
What's the best color theme. I agree with you, that most theming stuff is just eye candy. But in this case, I think it is a must have. For example, I prefer a darker background color. I don't like white. It's to bright for me.
Nevertheless, the configuration features currently available are good enough. At least for me. May be someone writes a GUI for it.
Also, Sublime has a pretty neat ultra-zoomed-out file view that might just be a novelty, or might be useful.
Mmm, how this feature can be any usefull in real life?
That's a feature for windows users only. ;-)
It's bright, it twinkles, it must be good. ;-)
On Fri, 11 Apr 2008 00:31:23 +0300, Yura Siamashka yurand2@gmail.com wrote:
Hi,
Anyway, just some ideas that I thought Geany users might find interesting to chat about.
I didn't download it but something tell me it is not worth using even if it was free. Homepage contains only marketing bullshit. Either documentation is poor or editor doesn't have a lot of features.
Hehe, I didn't want to say it this clearly but yes, a program should convince by itself not by a super-duper and flashing website...
p.s. As for python interface for plugin, it is not very difficult to make one, the only reason we don't have it - no one care enough to program it.
We need a Jeff for Python :D.
Regards, Enrico