LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-15-2007, 03:16 PM   #1
milasch
LQ Newbie
 
Registered: May 2005
Location: Toronto, ON
Distribution: Ubuntu 8.04
Posts: 24

Rep: Reputation: 15
Notepad++ or similar php coding/text editing tool for linux


Hello,

I find Notepad++ amazing as a plain text editor, but it only is available for Windows. I installed it with wine, and it's working fine even though there are some font issues with it.

I would feel much more comfortable if I were using something already built for linux, or something that had its code ported to linux.

I find vim for exemple very useful, but there is one particular thing that I find SO AMAZING, the macro feature that some open source text editors have. But I couldn't find it in any text editor for linux.

Well, I tried to compile the notepad++ source but it's very complicated.

What would you guys recommend? Something that is lightweight such as kate, but with some very neat features such as notepad++...
 
Old 11-15-2007, 03:58 PM   #2
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
What features are you wanting? Gvim has macros, even some neat shortcuts. Scite or such. Are you wanting to edit web/python/php? If so, Bluefish has some great stuff in it. What functions does notepad++ have that you miss? There is likely a way to get those functions in Gvim or kate, just gotta know how to get to them.
 
Old 11-15-2007, 05:44 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
vim has macros: http://www.oreillynet.com/mac/blog/2..._macros_1.html
 
Old 11-29-2007, 11:04 PM   #4
milasch
LQ Newbie
 
Registered: May 2005
Location: Toronto, ON
Distribution: Ubuntu 8.04
Posts: 24

Original Poster
Rep: Reputation: 15
I understand a lot of people love vim, I really enjoy it, but it lacks some features that makes much more productive to work with other editors.

Notepad++'s features I look for is:

Column selection
easy keyboard macro recording/playing
nice find features


I used to use ConTEXT for windows, but notepad++ is better.

I've tried installing Scite, amaya, screem, but always some GLIB2 related problem makes me give up.

Like, when I'm trying scite because it uses scintilla library such as notepad++, i get:

make
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
g++ -DNDEBUG -Os -Wall -Wno-missing-braces -Wno-char-subscripts -pedantic -Os -DGTK -DSCI_LEXER -I ../include -I ../src -c PlatGTK.cxx
PlatGTK.cxx:11:18: error: glib.h: No such file or directory
PlatGTK.cxx:12:21: error: gmodule.h: No such file or directory
PlatGTK.cxx:13:21: error: gdk/gdk.h: No such file or directory
PlatGTK.cxx:14:21: error: gtk/gtk.h: No such file or directory
PlatGTK.cxx:15:28: error: gdk/gdkkeysyms.h: No such file or directory
In file included from PlatGTK.cxx:20:
../include/ScintillaWidget.h:26: error: ‘GtkContainer’ does not name a type
../include/ScintillaWidget.h:31: error: ‘GtkContainerClass’ does not name a type
../include/ScintillaWidget.h:38: error: ‘GtkType’ does not name a type
../include/ScintillaWidget.h:42: error: expected constructor, destructor, or type conversion before ‘*’ token
PlatGTK.cxx:107: error: ISO C++ forbids declaration of ‘GdkFont’ with no type
PlatGTK.cxx:107: error: expected ‘;’ before ‘*’ token
PlatGTK.cxx:112: error: expected `)' before ‘*’ token
PlatGTK.cxx: In destructor ‘FontHandle::~FontHandle()’:
PlatGTK.cxx:133: error: ‘pfont’ was not declared in this scope
PlatGTK.cxx:134: error: ‘gdk_font_unref’ was not declared in this scope
PlatGTK.cxx:135: error: ‘pfont’ was not declared in this scope
PlatGTK.cxx: At global scope:
PlatGTK.cxx:176: error: expected initializer before ‘*’ token
PlatGTK.cxx:180: error: expected initializer before ‘*’ token
PlatGTK.cxx: In member function ‘void Palette::Release()’:
PlatGTK.cxx:207: error: expected type-specifier before ‘GdkColor’
PlatGTK.cxx:207: error: expected `>' before ‘GdkColor’
PlatGTK.cxx:207: error: expected `(' before ‘GdkColor’
PlatGTK.cxx:207: error: ‘GdkColor’ was not declared in this scope
PlatGTK.cxx:207: error: expected primary-expression before ‘>’ token
PlatGTK.cxx:207: error: expected `)' before ‘;’ token
PlatGTK.cxx: In member function ‘void Palette::Allocate(Window&)’:
PlatGTK.cxx:252: error: ‘PWidget’ was not declared in this scope
PlatGTK.cxx:252: error: ‘gtk_widget_get_colormap’ was not declared in this scope
PlatGTK.cxx:253: error: expected type-specifier before ‘GdkColor’
PlatGTK.cxx:253: error: expected `>' before ‘GdkColor’
PlatGTK.cxx:253: error: expected `(' before ‘GdkColor’
PlatGTK.cxx:253: error: ‘GdkColor’ was not declared in this scope
PlatGTK.cxx:253: error: expected primary-expression before ‘>’ token
PlatGTK.cxx:255: error: expected type-specifier before ‘GdkColor’
PlatGTK.cxx:255: error: expected `>' before ‘GdkColor’
PlatGTK.cxx:255: error: expected `(' before ‘GdkColor’
PlatGTK.cxx:255: error: expected primary-expression before ‘>’ token
PlatGTK.cxx:255: error: expected `)' before ‘;’ token
PlatGTK.cxx:259: error: ‘GdkColor’ was not declared in this scope
PlatGTK.cxx:259: error: ‘paletteNew’ was not declared in this scope
PlatGTK.cxx:259: error: expected type-specifier before ‘GdkColor’
PlatGTK.cxx:259: error: expected `;' before ‘GdkColor’
PlatGTK.cxx:261: error: ‘gboolean’ was not declared in this scope
PlatGTK.cxx:261: error: ‘successPalette’ was not declared in this scope
PlatGTK.cxx:261: error: expected type-specifier before ‘gboolean’
PlatGTK.cxx:261: error: expected `;' before ‘gboolean’
PlatGTK.cxx:271: error: ‘PWidget’ was not declared in this scope
PlatGTK.cxx:271: error: ‘gtk_widget_get_colormap’ was not declared in this scope
PlatGTK.cxx:272: error: ‘FALSE’ was not declared in this scope
PlatGTK.cxx:272: error: ‘TRUE’ was not declared in this scope
PlatGTK.cxx:273: error: ‘gdk_colormap_alloc_colors’ was not declared in this scope
PlatGTK.cxx:278: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
PlatGTK.cxx: At global scope:
PlatGTK.cxx:494: error: expected initializer before ‘*’ token
PlatGTK.cxx:68: warning: ‘void FontMutexAllocate()’ defined but not used
PlatGTK.cxx:77: warning: ‘void FontMutexFree()’ defined but not used
PlatGTK.cxx:330: warning: ‘bool IsDBCSCharacterSet(int)’ defined but not used
PlatGTK.cxx:345: warning: ‘void GenerateFontSpecStrings(const char*, int, char*, int, char*, int, char*, int)’ defined but not used
make: *** [PlatGTK.o] Error 1

but when I run:

rpm -q gtk2
gtk2-2.12.0-5.4

uname -r
2.6.22.12-0.1-default
uname -m
x86_64

openSuse 10.3

I'm betting on Scite. Can someone help me out with these errors?
 
Old 01-03-2008, 01:41 PM   #5
leif81
LQ Newbie
 
Registered: Aug 2004
Location: kingston, canada
Distribution: Fedora
Posts: 20

Rep: Reputation: 0
Quote:
Originally Posted by milasch View Post

Notepad++'s features I look for is:

Column selection
easy keyboard macro recording/playing
nice find features
It sounds like your mind is made up already. However all of those are available in VIM.

Column selection can be done by pressing ctrl-v and then use the arrow keys up/down/left/right to make your column selection.

I'd argue VIM likely has every feature Notepad++ has and then some. It's just a matter of figuring out how to do it
 
  


Reply


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
Notepad editing problem >>BLACKHOLE<< General 15 04-12-2007 09:47 PM
recovery tool coding nick021 Programming 1 03-13-2007 06:00 AM
one php tool similar asp.net ra2000 Linux - General 1 02-26-2007 08:38 AM
text files that dont open with notepad the_imax General 6 02-16-2005 05:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:07 PM.

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
Open Source Consulting | Domain Registration