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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-15-2007, 03:16 PM
|
#1
|
|
LQ Newbie
Registered: May 2005
Location: Toronto, ON
Distribution: Ubuntu 8.04
Posts: 24
Rep:
|
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++...
|
|
|
|
11-15-2007, 03:58 PM
|
#2
|
|
Member
Registered: Jun 2004
Location: Kansas City, MO
Distribution: openSUSE 10.2/64bit
Posts: 276
Rep:
|
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.
|
|
|
|
11-15-2007, 05:44 PM
|
#3
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 14,937
|
|
|
|
|
11-29-2007, 11:04 PM
|
#4
|
|
LQ Newbie
Registered: May 2005
Location: Toronto, ON
Distribution: Ubuntu 8.04
Posts: 24
Original Poster
Rep:
|
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?
|
|
|
|
01-03-2008, 01:41 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2004
Location: kingston, canada
Distribution: Fedora
Posts: 20
Rep:
|
Quote:
Originally Posted by milasch
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 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:16 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|