Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Text Editor Recommendation
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Wed Dec 24, 2003 3:34 pm    Post subject: Text Editor Recommendation Reply with quote

I don't mean to start a text editor holy war here:
What's a good gnome text editor that is
    lightweight
    tabbed
    syntax highlighting that I specify

Also, what features should I look for in a text editor?
I've been a jedit user, and it's great, I'm just wondering if there's a good gnome application out there
By the way, I'm using this to also edit php and html in addition to java, is there a good html editor that I should use, and if so, why (over the text editor)

Thanks in advance everyone!
_________________
BitWise Chat
Back to top
View user's profile Send private message
dabooty
Guru
Guru


Joined: 15 May 2003
Posts: 482
Location: Belgium

PostPosted: Wed Dec 24, 2003 3:46 pm    Post subject: Reply with quote

i don't know if you've tried gedit (comes with gnome, under accessories)
i find it a nice simple text editor and i use it a lot for simple stuff.

If i do php i usually use gedit or bluefish
if i do java i usually use eclipse
_________________
registered user #284425
get yourself counted
http://counter.li.org
------
#emerge -pv solves a lot of questions beforehand
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Wed Dec 24, 2003 3:54 pm    Post subject: Reply with quote

Thanks for the reply sephiroth

Gedit: In windows, the files are terminated in UNIX style, is there a way to change that?
Also, CSS and PHP aren't highlightable style :-(

What makes bluefish good (better for php than gedit)? When I used it I couldn't stand the fact that to indent a block there was no shift + tab (it's control plus .)

For java, eclipse I understand :-)
_________________
BitWise Chat
Back to top
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Wed Dec 24, 2003 4:09 pm    Post subject: Reply with quote

for php amd html i use Quanta 3.2 beta2.
i never tryed bluefish, i´ll will compile it when i get home.
_________________
Encrypt, lock up everything and duct tape the rest
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Wed Dec 24, 2003 4:16 pm    Post subject: Reply with quote

Hmm, Quanta's a KDE application
I'll install it if there's a compelling reason to do so
GentooBox: What makes it awesome
_________________
BitWise Chat
Back to top
View user's profile Send private message
slarti`
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 376
Location: UK

PostPosted: Wed Dec 24, 2003 4:41 pm    Post subject: Reply with quote

SciTE!!

emerge scite

It's a beautiful editor. It really rocks, and needs more publicity (than it already gets at least) :P

It's full of GTK2 goodness as well..
_________________
Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Wed Dec 24, 2003 4:48 pm    Post subject: Reply with quote

Thanks for the post sonic!
To anybody: Why sciTE over gedit?
_________________
BitWise Chat
Back to top
View user's profile Send private message
slarti`
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 376
Location: UK

PostPosted: Wed Dec 24, 2003 5:09 pm    Post subject: Reply with quote

I find SciTE to be faster than gEdit. It has a toggle-able toolbar and status bar, you can compile/make from within it, it has folding, did I mention fast?

See for yourself

Fully detachable menus, erm, speed, functionality.. etc...

gEdit could barely be described as a code editor.. it has no syntax highlighting unless through a plugin as far as I know. It has nowhere near as many features as SciTE.

It is only a small tarball, emerge it, see for yourself ;)
_________________
Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Wed Dec 24, 2003 5:30 pm    Post subject: Reply with quote

Gedit does have syntax highlighting, but not for all the languages I want, and I'm not sure there are plugins for more languages. When you say "you can compile/make from within sciTE", does that mean you can bring up a command prompt (like in Kate, a text editor I really like, but it's not gnome), or not.
Also, what is folding?

Thanks for all your valuable comments everyone
_________________
BitWise Chat
Back to top
View user's profile Send private message
slarti`
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 376
Location: UK

PostPosted: Wed Dec 24, 2003 5:40 pm    Post subject: Reply with quote

Folding is when each bit of indented text can be folded in, so you can get a good outline of the code easily.

You can see the + / - in the screenshot?

SciTE can do syntax highlighting on:

Ada, Apache Config, Assembler, Avenue, Baan, Batch, Bullant, C / C++, C#, CSS, Difference, Eiffel, Errorlist, Fortran, Hypertext, Java, JavaScript, TeX, Lisp, Lot, Lout, Lua, Matlab, Makefiles, MMIXAL, crontab, NSIS, Pascal, Perl, PHP, PLSQL, SciTE's own properties format, PostScript, POV-Ray SDL, Python, Ruby, Shell languages, SQL, TCL, VB, VBScript, XML, and YAML.

happy? :D

It has a fullscreen mode, which is impressive for big projects.

It can convert line endings with a single keypress.

It has a built in paned command line too.

It supports expanding abbreviations, completing words, bookmarks, quick hotkeys for setting up comments, can export to HTML, PDF, RTF, LaTeX and XML.
_________________
Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Wed Dec 24, 2003 5:42 pm    Post subject: Reply with quote

I'm convinced enough to try it out!
/me emerges scite

I'll let you know if I like it or if I think it's crap, and if so, you can tell me I'm wrong ;-)
_________________
BitWise Chat
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Wed Dec 24, 2003 9:22 pm    Post subject: Reply with quote

Either sciTE doesn't have a tabbed interface or I can't find it :-(
_________________
BitWise Chat
Back to top
View user's profile Send private message
slarti`
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 376
Location: UK

PostPosted: Wed Dec 24, 2003 9:33 pm    Post subject: Reply with quote

Kind of, just without the tabs :P

Try choosing View --> Toolbar and turning that on. The two buttons on the far right scroll between buffers. Try opening one file, then another, and using those two buttons to switch between the two buffers..
_________________
Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Wed Dec 24, 2003 9:36 pm    Post subject: Reply with quote

Hmm, I see. That does work, but I think it's nicer to be able to see all your open documents and click on the one you need. Oh well, maybe next version :-)
_________________
BitWise Chat
Back to top
View user's profile Send private message
Anior
Guru
Guru


Joined: 17 Apr 2003
Posts: 317
Location: European Union (Stockholm / Sweden)

PostPosted: Wed Dec 24, 2003 10:10 pm    Post subject: Reply with quote

SciTE is really great.
Powerful and flexible enough so that I use it for all of my coding.
Still small and fast enough so that I can use it for any text editing.
Yay! :-)
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Wed Dec 24, 2003 10:13 pm    Post subject: Reply with quote

Thanks for the reply Anior!

Another reason not to use gedit
_________________
BitWise Chat
Back to top
View user's profile Send private message
j-kidd
Apprentice
Apprentice


Joined: 20 Feb 2003
Posts: 213

PostPosted: Wed Dec 24, 2003 10:35 pm    Post subject: Reply with quote

To have tabs in SciTE, just edit your ~/.SciTEUser.properties so

tabbar.visible=1
tabbar.hide.one=0

You can refer to http://www.scintilla.org/SciTEDoc.html for more options
Back to top
View user's profile Send private message
minic00p3r
n00b
n00b


Joined: 13 Jul 2003
Posts: 41

PostPosted: Thu Dec 25, 2003 12:29 am    Post subject: Reply with quote

slightly off topic, but has anyone tried 'ted'?

rich
_________________
I can't bear to run short of Acetylmethyldimethyloxamidphenylydrazine.
--------------------------------------------------------From 0 to "whats the problem officer" in 8.3 seconds. -fortune (car advert)
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Thu Dec 25, 2003 12:48 am    Post subject: Reply with quote

Jason Kidd:
Thanks for the tip, however, I edited the Global Options File (as root) and added the change to the previously empty User Options File with no tabbed results
Further, whenever I exit and return none of my options do not appear to be saved (view line numbers, toolbars, etc)

Any ideas?
_________________
BitWise Chat
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Fri Dec 26, 2003 5:16 pm    Post subject: Reply with quote

Mallrats wrote:
Jason Kidd:
Thanks for the tip, however, I edited the Global Options File (as root) and added the change to the previously empty User Options File with no tabbed results
Further, whenever I exit and return none of my options do not appear to be saved (view line numbers, toolbars, etc)

Any ideas?


2 things:
1) make sure your preferences are not commented with a #
2) changing things outside of the preference files doesn't make changes persist
:-)
_________________
BitWise Chat
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Fri Dec 26, 2003 5:27 pm    Post subject: Reply with quote

In sciTE: When opening up a document that ends with html, html is syntax highlighted, but how do I turn on html highlighting for a file not ending in html (It's not in my list of languages in sciTE)
Also, is there a way to show tabs but not spaces (of the show whitespaces preference?)
Otherwise, very solid editor
_________________
BitWise Chat
Back to top
View user's profile Send private message
dabooty
Guru
Guru


Joined: 15 May 2003
Posts: 482
Location: Belgium

PostPosted: Fri Dec 26, 2003 5:50 pm    Post subject: Reply with quote

thanx j kidd, your tip makes scite my new favorite editor
_________________
registered user #284425
get yourself counted
http://counter.li.org
------
#emerge -pv solves a lot of questions beforehand
Back to top
View user's profile Send private message
zatalian
Apprentice
Apprentice


Joined: 27 Aug 2002
Posts: 179
Location: Gent, Belgium

PostPosted: Sat Dec 27, 2003 11:45 am    Post subject: Reply with quote

to have tabs working, you also have to add

Code:

buffers = some number > 1


in the global settings file, this option is disabled.


Last edited by zatalian on Sat Dec 27, 2003 12:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
teknomage1
Veteran
Veteran


Joined: 05 Aug 2003
Posts: 1239
Location: Los Angeles, CA

PostPosted: Sat Dec 27, 2003 11:55 am    Post subject: Reply with quote

whoohoo vim all the way, with screen or something to provide tabs, ultra lightweight...i'll be quiet now
Back to top
View user's profile Send private message
polin8
n00b
n00b


Joined: 03 Oct 2002
Posts: 74
Location: Baltimore, MD USA

PostPosted: Sat Dec 27, 2003 2:55 pm    Post subject: Reply with quote

Yeah, (g)Vim certainly fits your requirements. Take a look at the scripts at www.vim.org to get some nice html editing features.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum