LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-09-2011, 05:29 AM   #1
splintercdo
Member
 
Registered: Feb 2011
Posts: 132

Rep: Reputation: 9
Post Advanced text editor


I guess this question has been talked about a lot, but anyway, is there a good text editor for linux (alternative of np++ for example):
by good I mean:
It has syntax highlight
Matching brackets
Line numbering
Current line highlight
Colon select
Unicode support
Cut and paste with buffer
Regular expression finding(replacing)
Compare of two documents, using all the functionality above
Multiple Undo, Redo
Unnecassery block hiding
Easy text sizing(Ctrl + mouse or something like that)
End of line and start of line display(as usable characters)
codepage changing option
macros

I guess I forgot something, but these are reasons good enough
The closest thing was VIM

But I have a feeling that Linux platform lack of good text editor, you are now welcome to attack me but only constructively!

P.S.
Off course I guess (Wine + Notepad++) is also an option, but I am a bit worried that functionality of np++ through wine might suffer.
 
Old 04-09-2011, 05:34 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hi,

I've used the Wine-NP++ combination for quite some time and it worked. I mainly used it because it was what I was familiar with. Nowadays I use Nano, Vim and Emacs (Emacs just starting to discover) and haven't started NP++ for several months. You could also have a look at where NP came from, namely SciTE.

Kind regards,

Eric
 
Old 04-09-2011, 05:46 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Originally Posted by splintercdo View Post
...
The closest thing was VIM

But I have a feeling that Linux platform lack of good text editor, you are now welcome to attack me but only constructively!
Why do you think that vim isn't a good texteditor?

I'm using vim exclusively since many years even on Windows-systems. vim is a very powerfull editor with all features you meantioned and many more.

Note that you will have to learn to use the editor (like every program) before you can use it in an efficient way. And for vim like other tools you'll experience a steep learning-curve, but on the long run you'll be better off with such a powerful tool.

Markus
 
Old 04-09-2011, 11:42 AM   #4
splintercdo
Member
 
Registered: Feb 2011
Posts: 132

Original Poster
Rep: Reputation: 9
Hey markush, you misunderstood me, on contrary, I told that VIM is the best text editor on Linux I have found (I don't use Emacs, but from what I have read, it seams to be very powerful tool, like, Slackware, have separate installation part for Emacs , but I really don't like that standard key configuration is so very different from most of other applications)

So VIM is great! It just didn't prove it to me that it can do all the things I stated earlier.

If you can do all(ok, more or less like I stated ) of the things I wrote above, than I would be happy to use VIM, I really enjoy that it works in console.

And you took good quote from read it carefully
Quote:
attack me but only constructively!
It isn't enough if you just say, oh I like some application, if you don't like it than you just don't understand it. Prove me that I am wrong and I will shake your hand

No offence
 
Old 04-09-2011, 12:09 PM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Originally Posted by splintercdo View Post
...It just didn't prove it to me that it can do all the things I stated earlier....
well, here we go:
It has syntax highlight: vim has syntaxhighlighting for almost every filetype and syntaxfiles can be easily written.
Matching brackets: vim shows the matching bracket when the curser is under a bracket.
Line numbering: in commandmode enter :set number
Current line highlight: I don't know
Colon select: I don't know what you mean
Unicode support: yes
Cut and paste with buffer: one of the moste elaborate features of vim
Regular expression finding(replacing): yes, I use it very often
Compare of two documents, using all the functionality above: can be done at least with the diff command
Multiple Undo, Redo:
yes
Unnecassery block hiding: there is a wrapper function
Easy text sizing(Ctrl + mouse or something like that):[/b] I don't know what you mean
End of line and start of line display(as usable characters): I don't know (but can be used within regular expressions)
codepage changing option: I don't know
macros: vim comes with it's own macrolanguage and one can record macros into named buffers which can be edited afterwards

Maybe you tell us what you want to do with the editor, which filetypes do you want to edit? and which problem do you want to solve with the editor. I mean an example.

Markus
 
Old 04-09-2011, 01:10 PM   #6
Telengard
Member
 
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Blog Entries: 8

Rep: Reputation: 147Reputation: 147
Emacs provides most if not all of what you want.
  • syntax highlight: YES
  • Matching brackets: YES
  • Line numbering: YES
  • Current line highlight: unsure, but probably
  • Colon select: don't know what it is
  • Unicode support: unsure, but probably
  • Cut and paste with buffer: YES
  • Regular expression finding(replacing): YES
  • Compare of two documents, using all the functionality above: unsure, but probably
  • Multiple Undo, Redo: YES
  • Unnecassery block hiding: unsure, but probably
  • Easy text sizing(Ctrl + mouse or something like that): unsure, but maybe
  • End of line and start of line display(as usable characters): unsure, but probably
  • codepage changing option: unsure, but probably
  • macros: YES, DOUBLE YES

Since your feature needs seem to lean toward program editing I think you may benefit from looking into a full IDE, which Emacs can also serve as. I'll leave it to others to point out more popular IDEs.
 
Old 04-09-2011, 01:27 PM   #7
xeon123
Member
 
Registered: Sep 2006
Posts: 364

Rep: Reputation: 16
I've used vim and emacs for years. For me, emacs is the best.
 
Old 04-09-2011, 02:35 PM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Originally Posted by xeon123 View Post
I've used vim and emacs for years. For me, emacs is the best.
I did it the other way my first editor with Linux was Emacs, back in the year of 1994, but later I turned to vi and vim.

Well, maybe this is a little bit off topic, but vim is quickly installed on Windows systems and can also be installed on an USB-storage-device and then be started on Windows. So I don't have to change the editor between different operating systems.

Markus
 
Old 04-09-2011, 04:23 PM   #9
dopla
Member
 
Registered: Aug 2008
Location: Beacon Bay, East London, South Africa
Distribution: Ubuntu
Posts: 30

Rep: Reputation: 16
There are lots and lots of great text editors in linux. Personally I use vim on terminal ... its just that vim has a steep learning curve in the beginning. I don't think I need to try emacs neither.

Now coming back to the point, if you are accustomed to Notepad++ then look no further than at 'juffed' or 'kate'.

Cheers
 
1 members found this post helpful.
Old 04-12-2011, 11:56 AM   #10
p_barill
LQ Newbie
 
Registered: Apr 2011
Location: Montréal, Canada
Distribution: openSUSE 12.2
Posts: 14

Rep: Reputation: 3
Yeah I too used notepad++ on Windows. A nice close substitute I found when switching to Linux is kate. Never tried emacs, except its tetris!
 
Old 04-12-2011, 05:15 PM   #11
splintercdo
Member
 
Registered: Feb 2011
Posts: 132

Original Poster
Rep: Reputation: 9
OK guys sorry for long time no answer

to markush thanks for showing possibilities about most of them I knew

but thanks for info about diff, wrapper function and set number

BUT big minuses are yeah you can see matching bracket, but only in the borders of vim window, that's just silly and is not serious

there are few codepages, they doesn't to seem to affect anything and to import new seems a bit pain in the a**

all other options are more or less possible, but not as efficient as in np++ (font size change, to view structure of file, current line select, etc.)

and here everything boils down to efficiency, yes vim has steep learning curve, which actually is not as steep and I learned all this functionality in some 20 minutes(of course to know how to use vim properly, I should sit a bit with it, may be my opinion would change).

The problem is that even if you are god of vim, you will work slower than on np++ (except, I believe vim has specific features that np++ doesn't have and I was pleasantly surprised that vim has clipper language syntax )



To emacs guys: I should try out Emacs and answer you, what I think about it, I haven't used it, so I have no opinion.



To other guys Kate is weak did you read functionality I need.

Juffed is great, but lacks, few features, I would like to have and I really don't like that it uses QT.



To all, if you find some mistakes I have made in this post, please correct me, for example is there possibility to see matching bracket in vim further then screen(jumping is option, but it's like hack ).



And for few days this thought is starting to bother me, may be I should start more serious project for self development and build one most efficient advanced text editor as possible (Not as feature full as vim, it would have most used and necessary functions which would be usable as easy and fast as possible hmm...)

Thanks for help!
 
Old 04-12-2011, 05:43 PM   #12
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Originally Posted by splintercdo View Post
...The problem is that even if you are god of vim, you will work slower than on np++ (except, I believe vim has specific features that np++ doesn't have
...
the "specific features" are what vi/vim makes very very fast and efficient. One cannot learn vim within some hours or days and say it is slower than editor XY... The most important feature of vim is that one doesn't need the mouse or the STRG-key. One important requirement is that you can typewrite with 10 fingers and without looking onto the keyboard.

I'm sure there is a feature to match braces outside of the current window, but I don't yet know how to do that.

Markus
 
Old 04-12-2011, 06:04 PM   #13
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,595
Blog Entries: 1

Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
I guess both vim and emacs have way more than enough features that one would ever need. Obviously you have to pay the price in the time spent learning either of them. I used to use emacs exclusively, now I am kind of undecided as I am starting to find some of vim's ways more convenient to me.
 
Old 04-12-2011, 06:08 PM   #14
E.U.A.
LQ Newbie
 
Registered: Apr 2011
Location: Istanbul, Turkey
Distribution: OpenSUSE 11.4
Posts: 3

Rep: Reputation: 0
I miss notepad++ from windows...
 
Old 04-12-2011, 06:25 PM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,262

Rep: Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660
@E.U.A. post # 14 : Welcome to LQ.

How about "textmaker-free". Can almost replace MS Word .. post #4 here
http://www.linuxquestions.org/questi...lent-799567/#4
 
  


Reply

Tags
text editor


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "Go Advanced" text editor should be horizontally wide. TheIndependentAquarius LQ Suggestions & Feedback 5 11-23-2010 11:31 AM
LXer: Kate Text Editor-- Advanced Configuration and Command-Line Tips LXer Syndicated Linux News 0 03-03-2009 05:20 PM
Which light text editor can copy text from file and paste in browser? davidas Linux - Software 9 03-06-2006 12:28 PM
Semi-Advanced Text Editor cspos Linux - Software 9 10-27-2004 12:31 PM
Question on the DCOP interface to KDE Advanced Text Editor (Kate) Laurene Linux - Newbie 0 02-25-2004 02:29 PM


All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration