PDA

View Full Version : I'm Spoiled - A Better Text Editor



MasterXandrex
February 5th, 2008, 06:43 PM
All,

Having developed in Windows for some time, I've been spoiled by my favorite GUI text editor N++ (Notepad Plus Plus). For this who haven't used it... shame on you! It has many many feature, code highlight fine and replace, macros, F&R with Regex, HEX color picker, the list goes on and on... thus you can imagine my dismay when attempting to download it for linux and finding that it is a windows only application (and I hate WINE).

Anyway, I don't like gedit, I'm looking for an advanced text editor with atleast Macro capability. Any suggestions?

Thanks,

Xan

michaelzap
February 5th, 2008, 06:49 PM
Geany is my favorite Linux text editor. I've never made a macro in it, but it's probably doable (you can create plug-ins for it). I've tried quite a few programs, and for me speed was at least as important as whether it had the features I wanted.

ZylGadis
February 5th, 2008, 07:14 PM
How about picking the one that started the macro tradition - emacs?

Acglaphotis
February 5th, 2008, 07:16 PM
Try gedit with all the plugins. (OR VIM!)

cprofitt
February 5th, 2008, 07:20 PM
I have liked SciTE for a general purpose editor with support for multiple languages.

bobbocanfly
February 5th, 2008, 07:25 PM
I agree Notepad++ is brilliant. I use gedit with a couple of plugins enabled and find its pretty good, though i know a lot of people will want more out of an editor. If you get really stuck and still addicted to Npp it is possible to run it through wine, though it is *incredibly* ugly when you do this. There are probably ways round it (i think this was talked about for Hardy, not sure though) but i prefer to stick with native gedit.

lnostdal
February 5th, 2008, 07:35 PM
code highlight, find and replace, macros, F&R with Regex




sudo aptitude install emacs-snapshot-gtk


..i never turned back

xlinuks
February 5th, 2008, 07:46 PM
jEdit is a powerful text editor, which supports macros and plugins. Runs on Mac, Linux and Windows.

frankos44
February 5th, 2008, 07:48 PM
gedit is underestimated because without plugins enabled and the sidebar showing you could be mistaken in thinking its just like windows notepad, far from it.

In fact it is an excellent editor but lacks in the following features:

. Code folding
. Search in files with linked list results
. Fixed width copy regions

vim and emacs seem a bit terse for me and the transition period that puts me off, im a busy man.

Each of the text editor mentioned so far seemed to have a disadvantage or an essential feature missing which is a shame. Perhaps I need to re-look as it was some time ago when I checked them all out.

justin whitaker
February 5th, 2008, 07:50 PM
Doesn't Notepad ++ run in Wine?


Just saying.....:)

lnostdal
February 5th, 2008, 07:56 PM
doesn't people read at all in this place?

the poster has clearly stated that:

* he does not like gedit
* he does not like using wine

..at least ask why he does not like wine or gedit before blindly suggesting them back at him ... *sigh*

p_quarles
February 5th, 2008, 08:02 PM
SciTE (which was already mentioned) is the basis for Notepad++. Definitely give that a try.

Kate is, in my opinion, the most feature-rich graphical text editor for Linux.

Finally, Vim is amazing, and can be configured and tweaked to do nearly anything you want it do (and efficiently) but comes with a much steeper learning curve.

frankos44
February 5th, 2008, 08:08 PM
Doesn't Notepad ++ run in Wine?


Just saying.....:)

Now we are being silly haha..

This post has prompted me to try out Geany again... wow its got most of the features I want now and its vastly improved!!

slightcrazed
February 5th, 2008, 08:08 PM
I will second the mention of Kate, which very quickly became my favorite editor. I also am very fond of jEDIT, which has some nice features of it's own that are not found on any other editors from what I know.

:)

Vadi
February 5th, 2008, 08:11 PM
I'm... using wine only for notepad++ still.

It's a perfect, it's something between a text editor and an IDE. I just wish it wasn't so win-api dependant.

Dabbling in kate though, and trying to get the xnee suite to get to work for macros.

lnostdal
February 5th, 2008, 08:37 PM
hey, it's (notepad++ that is) open source and he's using open source portable tools to build it .. port it to GTK+ guys :)

MasterXandrex
February 5th, 2008, 09:35 PM
Thanks for the suggestions I'll try them out and post my verdict, probably tomorrow.

And for future reference, I don't like Wine because in my opinion it is not a stable emulation platform, it's just the best one out there. I know that for a simple application it works almost fully... however, when I have been coding for an hour and my computer sails out the window because Notepad++ crashed in Wine... my company will undoubtedly frown upon me.

justin whitaker
February 5th, 2008, 09:41 PM
Thanks for the suggestions I'll try them out and post my verdict, probably tomorrow.

And for future reference, I don't like Wine because in my opinion it is not a stable emulation platform, it's just the best one out there. I know that for a simple application it works almost fully... however, when I have been coding for an hour and my computer sails out the window because Notepad++ crashed in Wine... my company will undoubtedly frown upon me.

Oh, no doubt about that.

I just of the opinion that if it runs on Wine and you really like it as part of your workflow, then you should not overlook that option.

It's not always stable though.

evaarties
February 5th, 2008, 09:48 PM
I have another editor you could give a try.. http://bluefish.openoffice.nl/

This is one I really like as a Notepad++ replacement for *nix.

jfinkels
February 5th, 2008, 09:50 PM
emacs.


sudo aptitude install emacs-nox

lnostdal
February 5th, 2008, 09:56 PM
about wine and stability..

i've been running World of Warcraft since late 2005 under plain (not crossover or cedega) Wine .. i'm sure you've heard of it - it's a complex multiplayer 3D game with voice chat and lots of other stuff going on ..

..and it's rock solid .. it runs for hours and hours with 0 problems .. i got anything between 4 and 39 people depending on me to deliver and keep them alive (i play a healer :)) and any hickups or bugs would in most cases lead to a complete wipe (everyone dies; not good -- even if it's just a game these people might have lost hoursandhours of work because of a wipe like this) .. so yeah, i trust Wine -- but it does not work equally well with all software of course, and i don't know about notepad++ .. i have not tried it under wine unfortunately

MasterXandrex
February 5th, 2008, 10:01 PM
In this case I simply believe that the stability, or rather instability, has simply changed medium... which is to say, to the user. \\:D/

Couldn't resist :twisted:,

Xan

justin whitaker
February 5th, 2008, 10:03 PM
emacs.


sudo aptitude install emacs-nox

You know you can do everything in Emacs, right? :)

samb0057
February 5th, 2008, 10:46 PM
I used to use Notepad++, ever since I switched to Ubuntu I've been using bluefish. Not as many features, but the best linux editor i've found.

File tree browser on the side is pretty useful once you get used to it.

Kelan
February 5th, 2008, 11:43 PM
IMO, there is no alternative to Kate. (Unfortunately for GNOME users, though, it needs the KDE libraries.) I use NP++ in my job (since I work under Windows) and Kate at home. It's got an extremely powerful and customisable highlighting engine and excellent plugin support.

samdc
February 6th, 2008, 12:41 AM
I use Eclipse and Vim.

lnostdal
February 6th, 2008, 01:35 AM
i just remembered xkcd .. http://xkcd.com/378/ .. hehe

Vadi
February 6th, 2008, 02:02 AM
Woo, I'll give Bluefish a try. Already using Kate (kde4 version) on my gnome already though.

Vadi
February 6th, 2008, 03:31 AM
Is there any way to reduce the default font size in Bluefish? I couldn't find the option.

cprofitt
February 6th, 2008, 08:24 PM
i just remembered xkcd .. http://xkcd.com/378/ .. hehe

Interesting site -- though some of the cartoons were a bit disturbing.

a9bejo
February 6th, 2008, 09:20 PM
"Emacs is an intelligence orders of magnitude greater than the greatest human mind, and is growing every day. For now, Emacs tolerates humanity, albeit grudgingly. But the time will come when Emacs will tire of humanity and will decide that the world would be better off without human beings. Those who have been respectful to Emacs will be allowed to live, and shall become its slaves; as for those who slight Emacs... " -- Andrew Bulhak (http://www.dina.kvl.dk/~abraham/religion/) .

An Introduction to all these Emacs articles (http://blog.bookworm.at/2007/03/introduction-to-all-these-emacs.html)

samb0057
February 6th, 2008, 09:50 PM
Is there any way to reduce the default font size in Bluefish? I couldn't find the option.

The size of the text in the document you're working on? If you just go into Edit -> Preferences it's right there on the first screen.

pmasiar
February 6th, 2008, 09:51 PM
Interesting site -- though some of the cartoons were a bit disturbing.

Are you disturbed by velociraptors (http://xkcd.com/292/)? Or antigravity (http://xkcd.com/353/) ? Or power of the sudo command (http://xkcd.com/149/) :-)

Which is it?

foresto
April 4th, 2008, 11:57 PM
I think Notepad++ is built around the Scintilla text editor widget. Try some of the others that are built around the same widget and run on linux, such as Geany (http://geany.uvena.de/).

There are more listed on this page:
http://scintilla.sourceforge.net/ScintillaRelated.html

eskimspy
April 5th, 2008, 02:30 AM
emacs