Re: text editor suggestion?

2006-08-23 Thread Ravi Teja

John Salerno wrote:
> Ravi Teja wrote:
>
> > ???
> >
> > In the same file, near the top.
> >
> > keywordclass.python=and assert break class continue def del elif \
> > else except exec finally for from global if import in is lambda None \
> > not or pass print raise return try while yield
> >
> > I could add my own keywords to it.
> >
>
> But I don't want all my keywords to be highlighted in the same way. I
> have different colors for Python keywords, functions and methods,
> exceptions, other words like 'self', etc. and there's no way to do this
> without rewriting the lexer file (which is in C++) and recompiling Scite
> to build the changes into it.

I don't know if SciTE somehow supports function highlighting but the
properties file for php will perhaps give you some ideas on having
seperate groups with different highlight properties. I recall
repurposing something similar when I used to use Spyce for web apps.

http://mailman.lyra.org/pipermail/scite-interest/attachments/20050912/c9d5e51b/html-0001.obj

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-22 Thread John Salerno
Ravi Teja wrote:

> ???
> 
> In the same file, near the top.
> 
> keywordclass.python=and assert break class continue def del elif \
> else except exec finally for from global if import in is lambda None \
> not or pass print raise return try while yield
> 
> I could add my own keywords to it.
> 

But I don't want all my keywords to be highlighted in the same way. I 
have different colors for Python keywords, functions and methods, 
exceptions, other words like 'self', etc. and there's no way to do this 
without rewriting the lexer file (which is in C++) and recompiling Scite 
to build the changes into it.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-22 Thread Ravi Teja

John Salerno wrote:
> Ravi Teja wrote:
>
> > Stick to SciTE. It takes almost no learning effort and meets everyone
> > of those requirements. As far as customerization goes, SciTE can be
> > customerized quite well. In fact, it can even be scripted with Lua. You
> > seem to be using the single file executable which does not come with
> > the configuration files. Otherwise, I cannot see how you could be
> > missing this ability.
>
> I really like Scite, but I find it's syntax highlighting abilities to be
> quite limited. You can't specify your own groups of words, you can only
> use what is already preset in the lexer files.

???

In the same file, near the top.

keywordclass.python=and assert break class continue def del elif \
else except exec finally for from global if import in is lambda None \
not or pass print raise return try while yield

I could add my own keywords to it.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-22 Thread John Salerno
Ravi Teja wrote:

> Stick to SciTE. It takes almost no learning effort and meets everyone
> of those requirements. As far as customerization goes, SciTE can be
> customerized quite well. In fact, it can even be scripted with Lua. You
> seem to be using the single file executable which does not come with
> the configuration files. Otherwise, I cannot see how you could be
> missing this ability.

I really like Scite, but I find it's syntax highlighting abilities to be 
quite limited. You can't specify your own groups of words, you can only 
use what is already preset in the lexer files.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-22 Thread [EMAIL PROTECTED]
John Salerno wrote:
>
> The thing I liked about UltraEdit is that you can define your own groups
> of words and put whatever words you want in there, so my file had a
> group called '__builtins__' and it listed all the Python built-in
> methods, and those would be highlighted. Most editors I see don't seem
> to allow this...they just figure out what a function or method is on
> their own somehow.

In vim, you can just put "let python_highlight_builtins=1" in your
.vimrc for this particular example (other python syntax settings
include python_highlight_numbers, python_highlight_space_errors,
python_highlight_exceptions).

Use python_highlight_all to turn them all on.

To do it by hand and have it automatically come on in all .py buffers,
you could do:
au BufEnter *.py syntax keyword pythonFunction abs apply basestring
bool
au BufEnter *.py syntax keyword pythonFunction buffer callable chr

etc.  Put as many as you want on one line.  Use other syntax groups if
you want them highlighted as something other than functions.

Or, with vim's builtin python interpreter you could grab the list of
builtins directly, for instance have this in your vimrc:
pyf ~/.vim/vimrc.py

And have this in ~/.vim/vimrc.py:

import vim
# Might want to trim out exceptions/leading underscores/etc from
this...
builtins = ' '.join( [ b for b in dir(__builtins__)] )
vim.command('au BufEnter *.py syn keyword pythonFunction '+builtins)

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-21 Thread Ravi Teja
> I also just started using Scite, and I really like it, except I find its
> syntax highlighting to be very inflexible. You aren't able to define
> your own groups of words -- you have to use what's given, basically. One
> thing I like about UltraEdit is that you simply define as many groups of
> keywords as you want and then assign a style to each one. Scite has a
> very strange and rigid method of highlighting.

Stick to SciTE. It takes almost no learning effort and meets everyone
of those requirements. As far as customerization goes, SciTE can be
customerized quite well. In fact, it can even be scripted with Lua. You
seem to be using the single file executable which does not come with
the configuration files. Otherwise, I cannot see how you could be
missing this ability.

Try this one instead if you are on Windows.
http://gisdeveloper.tripod.com/scite.html

You need to edit the file python.properties to add keywords.

Windows - C:\Program Files\SciTe\python.properties
Debian - /usr/share/scite/python.properties

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-21 Thread jussij
John Salerno wrote:

> The thing I liked about UltraEdit is that you can define your own
> groups of words and put whatever words you want in there, so my
> file had a group called '__builtins__' and it listed all the Python
> built-in methods, and those would be highlighted. Most editors I
> see don't seem to allow this...

The Zeus IDE uses this exact same approach but takes it one step
further by allowing you to encapsulate all this information inside
a document type:

  http://www.zeusedit.com/forum/viewtopic.php?t=176

But alas Zeus is a Windows only editor.

Jussi Jumppanen
Author: Zeus for Windows IDE
http://www.zeusedit.com

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-21 Thread cga2000
On Mon, Aug 21, 2006 at 07:59:49AM EDT, Roberto Bonvallet wrote:
> John Salerno wrote:
> > I'd really like to learn vim, but I spent days just trying to figure out 
> > how to get the syntax highlighting and indentation working, where these 
> > settings are and how to edit them, and it still doesn't work for me. It 
> > just feels so insurmountable that I can't even start working with it yet 
> > because I don't know how to tailor the settings.
> 
> Create a vimrc file (if you use Unix: ~/.vimrc) with the following lines in
> it:
> 
> syntax on
> set autoindent
> set smartindent
> 
> If you find that using vim is hard, try using evim (easy vim).  It is part
> of the standard vim distribution (actually it's the same program).  Anyway,
> I suggest learning the classic modal vim, it's really worth it.

I'm not sure anyone else mentioned it.  

One additional feature of Vim that you soon will appreciate is that you
get high quality (and timely) support from very knowledgeable users on
the vim@vim.org mailing list.

I am unsure whether simpler editors provide this type of thing.

As to creating one's own color schemes .. there are hundreds that can
be downloaded and installed in a matter of minutes and they're likely
much better than what I would be able to come up with.

Some people are just good at this kind of stuff and I'm not one of 'em.

:-)

So, I tried out the ones that looked nice .. selected a few that I liked
more than the others .. and changed a few things that didn't suit me to
create my own modified versions of the originals. 

Thanks

cga
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-21 Thread [EMAIL PROTECTED]
John Salerno wrote:
> Sybren Stuvel wrote:
> > John Salerno enlightened us with:
> >> But what about customizing syntax coloring? Is this also in the same
> >> file? I've noticed a separate file called python.vim (in Windows,
> >> this file exists in a 'syntax' folder, and also another file of the
> >> same name in an 'indent' folder, so I'm *still* confused about which
> >> files are used for which settings.
> >
> > And you're also confused about what things are settings and what
> > aren't.
>
> No, my point was just that there are more files needed than just the
> .vimrc file if you want to do some extra customization. I'd like to
> change the syntax highlighting to specific colors for each group of
> keywords, and you can't do that in the settings file.

You can do all your color schemes/syntax highlighting changes in the
.vimrc file.

People normally split them out and :source other files to keep things
tidy, and there are some ways (plugins) to package things up nicely to
distribute to others, but fundamentally it's all just vim commands and
putting everything in the .vimrc is perfectly fine.  E.g. if I want to
change it so that identifiers are in another color from the default I
just add:

:highlight Identifier guifg=DarkSlateGrey

to the .vimrc  (or change ctermfg to a terminal color to change the
colors in non-gui vim)

> I'm not even sure
> you can do that at all, or if you have to settle for pre-made color
> schemes. I haven't looked into how difficult it is to make your own
> color scheme.

It's easy.  You just use a bunch of highlight statements like the
above.  There are examples in the vim runtime directory.  You can try
them out with a simple:

:colorscheme koehler
:colorscheme desert
:colorscheme default

etc.

>  (And does vim support bold text?)

If your terminal supports it, yeah.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-21 Thread John Salerno
Sybren Stuvel wrote:
> John Salerno enlightened us with:
>> But what about customizing syntax coloring? Is this also in the same
>> file? I've noticed a separate file called python.vim (in Windows,
>> this file exists in a 'syntax' folder, and also another file of the
>> same name in an 'indent' folder, so I'm *still* confused about which
>> files are used for which settings.
> 
> And you're also confused about what things are settings and what
> aren't. 

No, my point was just that there are more files needed than just the 
.vimrc file if you want to do some extra customization. I'd like to 
change the syntax highlighting to specific colors for each group of 
keywords, and you can't do that in the settings file. I'm not even sure 
you can do that at all, or if you have to settle for pre-made color 
schemes. I haven't looked into how difficult it is to make your own 
color scheme. (And does vim support bold text?)
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-21 Thread Roberto Bonvallet
John Salerno wrote:
> I'd really like to learn vim, but I spent days just trying to figure out 
> how to get the syntax highlighting and indentation working, where these 
> settings are and how to edit them, and it still doesn't work for me. It 
> just feels so insurmountable that I can't even start working with it yet 
> because I don't know how to tailor the settings.

Create a vimrc file (if you use Unix: ~/.vimrc) with the following lines in
it:

syntax on
set autoindent
set smartindent

If you find that using vim is hard, try using evim (easy vim).  It is part
of the standard vim distribution (actually it's the same program).  Anyway,
I suggest learning the classic modal vim, it's really worth it.
-- 
Roberto Bonvallet
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-20 Thread Jorgen Grahn
On Sat, 19 Aug 2006 02:06:15 -0400, John Salerno <[EMAIL PROTECTED]> wrote:
> Ben Finney wrote:
>
>> The two big names in text editing, Vim and Emacs, will both meet these
>> criteria easily. They also have the advantage that you'll find one or
>> the other, or both, on just about any Unix system intended for use by
>> a programmer.

And they're installable on Windows, and they will be ported to anything
you're likely to encounter, for the rest of your life.

>> There is also an enormous amount of support for both these editors,
>> for all manner of text editing tasks, available online. It's a good
>> idea to learn at least one of them very well, rather than learn a
>> bunch of less-popular editors for specific tasks.

That's an important point, IMHO. At least if you're living in Unix, plain
old text editing is one of the most common tasks you do, and you rarely end
up in situations where you're forced to use domain-specific editors (except
when using web applications, where you are often limited to the text editing
facilities of your web browser).

I usually don't like the idea of becoming addicted to one simgle program,
but I make an exception for text editing. I'm so much more productive in
emacs than anywhere else, and the things I learn while (say) programming in
Python translate directly to writing documentation, writing C code, or
massaging and browsing large data sets.

> I'd really like to learn vim, but I spent days just trying to figure out 
> how to get the syntax highlighting and indentation working, where these 
> settings are and how to edit them, and it still doesn't work for me.

That's to be expected, and to be honest, you'd have the same problem with
the editor I'd suggest, emacs.

I've accepted that there are huge areas of emacs that I don't know and which
would be useful to me if I had known them. It took almost ten years to
discover dabbrev-expand, and I only found out about open-rectangle last
week.

And noone can tell me /which/ features I'm missing, because everyone uses
their editor in a different way.

/Jorgen

-- 
  // Jorgen Grahn   R'lyeh wgah'nagl fhtagn!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-20 Thread Alexander Jakopin
John Salerno <[EMAIL PROTECTED]> wrote:
> Ok, I know it's been asked a million times, but I have a more specific 
> question so hopefully this won't be just the same old post. I've tried a 
> few different editors, and I really like UltraEdit, but it's 
> Windows-only and I'm working more on Linux nowadays.
> 
> Here are my criteria:
> 
> 1. syntax highlighting (highly customizable)
> 2. auto/smart indenting
> 3. ability to run script
> 4. light-weight text editor, not an IDE
> 5. cross-platform (not really necessary, but nice)
> 
> That's pretty much all I need. It's nice when you can customize a bunch 
> of other stuff too, but those are the most important.
> 
> I've tried vim, but I really don't feel like taking the time to learn 
> how to use it, given that I just like to casually program (not to 
> mention that I prefer to use the mouse when navigating a document 
> sometimes).

Vim is rather nice once you know it, but i can understand that not
everyone has the time to learn it.

There is Cream[1] which is supposed to be a more modern configuration of
VIM. I also remember using JED[2] for a while, but i can't remember the
features of it well, so i can't say if they fullfill your requirements
or not.

[1] http://cream.sourceforge.net/
[2] http://www.jedsoft.org/jed/

-- setrodox
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-19 Thread John Salerno
milosz wrote:
> Did you try gedit?
> It has an options, which you need, I think.
> Regards.
> 

Yes, I tried it and it's alright, but it doesn't support smart 
indentation or much customizing of syntax highlighting (i.e. you can 
change the color of functions, but you can't define what a 'function' 
is, or at least I have no idea where this can be done). It seems like 
what most editors do is highlight user-defined functions as they are 
defined, so:

def func()

'func' would be highlighted here, but not when you call it elsewhere in 
your script. Furthermore, there isn't support for built-in Python 
functions and methods.

The thing I liked about UltraEdit is that you can define your own groups 
of words and put whatever words you want in there, so my file had a 
group called '__builtins__' and it listed all the Python built-in 
methods, and those would be highlighted. Most editors I see don't seem 
to allow this...they just figure out what a function or method is on 
their own somehow.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-19 Thread John Salerno
Sybren Stuvel wrote:
> John Salerno enlightened us with:
>> I'd really like to learn vim, but I spent days just trying to figure
>> out how to get the syntax highlighting and indentation working,
>> where these settings are and how to edit them
> 
> Stop being a man and just ask for directions :)

Oh don't worry, I have no shame. I was asking a ton of questions, yet I 
still couldn't figure it out.

> 
>> It just feels so insurmountable that I can't even start working with
>> it yet because I don't know how to tailor the settings.
> 
> "vim ~/.vimrc" is all you need on any system but Windows. There IIRC
> you need to edit C:\Program Files\VIM\_vimrc.

But what about customizing syntax coloring? Is this also in the same 
file? I've noticed a separate file called python.vim (in Windows, this 
file exists in a 'syntax' folder, and also another file of the same name 
in an 'indent' folder, so I'm *still* confused about which files are 
used for which settings.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-19 Thread Thorsten Kampe
* John Salerno (2006-08-19 02:20 +0100)
> Ok, I know it's been asked a million times, but I have a more specific 
> question so hopefully this won't be just the same old post. I've tried a 
> few different editors, and I really like UltraEdit, but it's 
> Windows-only and I'm working more on Linux nowadays.
> 
> Here are my criteria:
> 
> 1. syntax highlighting (highly customizable)
> 2. auto/smart indenting
> 3. ability to run script
> 4. light-weight text editor, not an IDE
> 5. cross-platform (not really necessary, but nice)

EditPad Pro - runs perfectly under Wine

http://www.editpadpro.com/convenience.html
http://www.editpadpro.com/wine.html
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-19 Thread milosz
Did you try gedit?
It has an options, which you need, I think.
Regards.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-19 Thread mystilleef
http://scribes.sourceforge.net/

Flash Demo: http://scribes.sourceforge.net/snippets.htm

GIF Demo: http://www.minds.may.ie/~dez/images/blog/scribes.html

Scribes is simple, slim, sleek and fast. It has no learning curve and
conveys a no nonsense approach to text editing. You won't need to edit
configuration files in lisp, read manuals or sacrifice your unborn
grand daugther to the geek goddesses. It's also written in Python. Some
people have described it as TextMate for Linux.

Version 0.3 will be released in few days and will feature

- remote editing
- a document browser to show all files opened by the editor
- recent files menu
- more steriods...


John Salerno wrote:
> Ok, I know it's been asked a million times, but I have a more specific
> question so hopefully this won't be just the same old post. I've tried a
> few different editors, and I really like UltraEdit, but it's
> Windows-only and I'm working more on Linux nowadays.
>
> Here are my criteria:
>
> 1. syntax highlighting (highly customizable)
> 2. auto/smart indenting
> 3. ability to run script
> 4. light-weight text editor, not an IDE
> 5. cross-platform (not really necessary, but nice)
>
> That's pretty much all I need. It's nice when you can customize a bunch
> of other stuff too, but those are the most important.
>
> I've tried vim, but I really don't feel like taking the time to learn
> how to use it, given that I just like to casually program (not to
> mention that I prefer to use the mouse when navigating a document
> sometimes).
>
> I also just started using Scite, and I really like it, except I find its
> syntax highlighting to be very inflexible. You aren't able to define
> your own groups of words -- you have to use what's given, basically. One
> thing I like about UltraEdit is that you simply define as many groups of
> keywords as you want and then assign a style to each one. Scite has a
> very strange and rigid method of highlighting.
>
> So hopefully some of you might have some suggestions. My requirements
> are minimal, but I'm still not happy with the syntax highlighting I'm
> seeing in a lot of editors out there.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-19 Thread Philippe Martin
John Salerno wrote:

> Ok, I know it's been asked a million times, but I have a more specific
> question so hopefully this won't be just the same old post. I've tried a
> few different editors, and I really like UltraEdit, but it's
> Windows-only and I'm working more on Linux nowadays.
> 
> Here are my criteria:
> 
> 1. syntax highlighting (highly customizable)
> 2. auto/smart indenting
> 3. ability to run script
> 4. light-weight text editor, not an IDE
> 5. cross-platform (not really necessary, but nice)
> 
> That's pretty much all I need. It's nice when you can customize a bunch
> of other stuff too, but those are the most important.
> 
> I've tried vim, but I really don't feel like taking the time to learn
> how to use it, given that I just like to casually program (not to
> mention that I prefer to use the mouse when navigating a document
> sometimes).
> 
> I also just started using Scite, and I really like it, except I find its
> syntax highlighting to be very inflexible. You aren't able to define
> your own groups of words -- you have to use what's given, basically. One
> thing I like about UltraEdit is that you simply define as many groups of
> keywords as you want and then assign a style to each one. Scite has a
> very strange and rigid method of highlighting.
> 
> So hopefully some of you might have some suggestions. My requirements
> are minimal, but I'm still not happy with the syntax highlighting I'm
> seeing in a lot of editors out there.


Emacs would be my choice.

Philippe

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-19 Thread BartlebyScrivener

>> Oh well, I'll just keep trying different ones.

If you demand power and cross-platform compatibility, I think you
already know your choices are Xemacs or Vim 7.0. They are both modal
and therefore difficult to learn, at first, but later you enjoy the
pleasures of interface Zen:

http://tinyurl.com/osys2

rd

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-18 Thread Ant

John Salerno wrote:

> I'd really like to learn vim, but I spent days just trying to figure out
> how to get the syntax highlighting and indentation working, where these
> settings are and how to edit them, and it still doesn't work for me. It
> just feels so insurmountable that I can't even start working with it yet
> because I don't know how to tailor the settings.

FWIW I started to use vim 2 years ago, and hated every minute of it.
However, it was installed on every unix/linux box I have known, and so
I gradually learned the most common commands. Recently I have been
using gvim on windows, which comes pre-configured to syntax highlight
etc. It isn't very good at running the current buffer as far as I can
tell though, so I still have a command line open currently.

jEdit is also a very good editor with the same sort of feature set as
vim. Bit slower to load, but much more user freindly and a very
powerful editor core. With a few extra plugins (console and Jython
interpreter for example) it has all of the features you want, including
he ability to write macros in python. (Note vim is also customisable
using python).

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-18 Thread John Salerno
Ben Finney wrote:

> The two big names in text editing, Vim and Emacs, will both meet these
> criteria easily. They also have the advantage that you'll find one or
> the other, or both, on just about any Unix system intended for use by
> a programmer.
>
> There is also an enormous amount of support for both these editors,
> for all manner of text editing tasks, available online. It's a good
> idea to learn at least one of them very well, rather than learn a
> bunch of less-popular editors for specific tasks.
> 

I'd really like to learn vim, but I spent days just trying to figure out 
how to get the syntax highlighting and indentation working, where these 
settings are and how to edit them, and it still doesn't work for me. It 
just feels so insurmountable that I can't even start working with it yet 
because I don't know how to tailor the settings.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-18 Thread John Salerno
BartlebyScrivener wrote:
> John Salerno wrote:
> 
>> Ok, I know it's been asked a million times, but I have a more specific
>> question so hopefully this won't be just the same old post.
> 
> You got 65 answers last time :)
> 
> http://tinyurl.com/rsfjq
> 
> rd
> 

Hmm, I forgot all about that. Although I think the few editors I tried 
recently was a result of that thread! I guess none of the suggestions 
worked out for me. Oh well, I'll just keep trying different ones.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-18 Thread BartlebyScrivener
John Salerno wrote:

> Ok, I know it's been asked a million times, but I have a more specific
> question so hopefully this won't be just the same old post.

You got 65 answers last time :)

http://tinyurl.com/rsfjq

rd

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-18 Thread OriginalBrownster

John Salerno wrote:
> Ok, I know it's been asked a million times, but I have a more specific
> question so hopefully this won't be just the same old post. I've tried a
> few different editors, and I really like UltraEdit, but it's
> Windows-only and I'm working more on Linux nowadays.
>
> Here are my criteria:
>
> 1. syntax highlighting (highly customizable)
> 2. auto/smart indenting
> 3. ability to run script
> 4. light-weight text editor, not an IDE
> 5. cross-platform (not really necessary, but nice)
>
> That's pretty much all I need. It's nice when you can customize a bunch
> of other stuff too, but those are the most important.
>
> I've tried vim, but I really don't feel like taking the time to learn
> how to use it, given that I just like to casually program (not to
> mention that I prefer to use the mouse when navigating a document
> sometimes).
>
> I also just started using Scite, and I really like it, except I find its
> syntax highlighting to be very inflexible. You aren't able to define
> your own groups of words -- you have to use what's given, basically. One
> thing I like about UltraEdit is that you simply define as many groups of
> keywords as you want and then assign a style to each one. Scite has a
> very strange and rigid method of highlighting.
>
> So hopefully some of you might have some suggestions. My requirements
> are minimal, but I'm still not happy with the syntax highlighting I'm
> seeing in a lot of editors out there.



I use Komodo, its a lil hard to find if you're looking to pay nothing,
but its a great editor. it has all those things you're looking for. and
you can customize the syntax languages for ones that aren't already
included in the package...theres a free trial ..just try a google search

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-18 Thread Simon Forman
Paul Rubin wrote:
> "Simon Forman" <[EMAIL PROTECTED]> writes:
> > Have you tried IDLE?  It ships with python, meets your 5 criteria(*),
> > can be customized (highlighting colors and command keys and more), and
> > includes a usable GUI debugger.  It's got some warts, but I like it a
> > lot, it's pretty much all I use for my python coding.
>
> I use it too, but have never gotten the debugger to work reliably.

I'm curious about what you mean?  It doesn't do all I'd wish for, but
I've never had any real problem with it.   (It's bicyclerepairman I
haven't been able to get working. lol)

Peace,
~Simon

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-18 Thread David Isaac
http://www.american.edu/econ/notes/soft.htm#EDITORS

has some relevant discussion and suggestions.

Cheers,

Alan Isaac


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-18 Thread Paul Rubin
"Simon Forman" <[EMAIL PROTECTED]> writes:
> Have you tried IDLE?  It ships with python, meets your 5 criteria(*),
> can be customized (highlighting colors and command keys and more), and
> includes a usable GUI debugger.  It's got some warts, but I like it a
> lot, it's pretty much all I use for my python coding.

I use it too, but have never gotten the debugger to work reliably.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-18 Thread Simon Forman
John Salerno wrote:
> Ok, I know it's been asked a million times, but I have a more specific
> question so hopefully this won't be just the same old post. I've tried a
> few different editors, and I really like UltraEdit, but it's
> Windows-only and I'm working more on Linux nowadays.
>
> Here are my criteria:
>
> 1. syntax highlighting (highly customizable)
> 2. auto/smart indenting
> 3. ability to run script
> 4. light-weight text editor, not an IDE
> 5. cross-platform (not really necessary, but nice)
>
> That's pretty much all I need. It's nice when you can customize a bunch
> of other stuff too, but those are the most important.
>
> I've tried vim, but I really don't feel like taking the time to learn
> how to use it, given that I just like to casually program (not to
> mention that I prefer to use the mouse when navigating a document
> sometimes).
>
> I also just started using Scite, and I really like it, except I find its
> syntax highlighting to be very inflexible. You aren't able to define
> your own groups of words -- you have to use what's given, basically. One
> thing I like about UltraEdit is that you simply define as many groups of
> keywords as you want and then assign a style to each one. Scite has a
> very strange and rigid method of highlighting.
>
> So hopefully some of you might have some suggestions. My requirements
> are minimal, but I'm still not happy with the syntax highlighting I'm
> seeing in a lot of editors out there.

Have you tried IDLE?  It ships with python, meets your 5 criteria(*),
can be customized (highlighting colors and command keys and more), and
includes a usable GUI debugger.  It's got some warts, but I like it a
lot, it's pretty much all I use for my python coding.

http://www.python.org/idle/

(* It *is* an IDE, but a very lightweight one. :) )

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-18 Thread Ben Finney
John Salerno <[EMAIL PROTECTED]> writes:

> Here are my criteria:
> 
> 1. syntax highlighting (highly customizable)
> 2. auto/smart indenting
> 3. ability to run script
> 4. light-weight text editor, not an IDE
> 5. cross-platform (not really necessary, but nice)

The two big names in text editing, Vim and Emacs, will both meet these
criteria easily. They also have the advantage that you'll find one or
the other, or both, on just about any Unix system intended for use by
a programmer.

> I've tried vim, but I really don't feel like taking the time to learn 
> how to use it, given that I just like to casually program (not to 
> mention that I prefer to use the mouse when navigating a document 
> sometimes).

Both Vim and Emacs operate fine with the mouse, if asked to do so.

For Emacs, you simply run it in the context of an windowing
environment and it will use a bitmapped graphical window.

For Vim, you need to run 'gvim' to get the bitmapped window (later
versions may attempt to do this by default, I'm not sure).

There is also an enormous amount of support for both these editors,
for all manner of text editing tasks, available online. It's a good
idea to learn at least one of them very well, rather than learn a
bunch of less-popular editors for specific tasks.

-- 
 \"I saw a sign: 'Rest Area 25 Miles'. That's pretty big. Some |
  `\   people must be really tired."  -- Steven Wright |
_o__)  |
Ben Finney

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: text editor suggestion?

2006-08-18 Thread nemesian
Have you tried Notepad++?  It's a neat text-editor.

-- 
http://mail.python.org/mailman/listinfo/python-list


text editor suggestion?

2006-08-18 Thread John Salerno
Ok, I know it's been asked a million times, but I have a more specific 
question so hopefully this won't be just the same old post. I've tried a 
few different editors, and I really like UltraEdit, but it's 
Windows-only and I'm working more on Linux nowadays.

Here are my criteria:

1. syntax highlighting (highly customizable)
2. auto/smart indenting
3. ability to run script
4. light-weight text editor, not an IDE
5. cross-platform (not really necessary, but nice)

That's pretty much all I need. It's nice when you can customize a bunch 
of other stuff too, but those are the most important.

I've tried vim, but I really don't feel like taking the time to learn 
how to use it, given that I just like to casually program (not to 
mention that I prefer to use the mouse when navigating a document 
sometimes).

I also just started using Scite, and I really like it, except I find its 
syntax highlighting to be very inflexible. You aren't able to define 
your own groups of words -- you have to use what's given, basically. One 
thing I like about UltraEdit is that you simply define as many groups of 
keywords as you want and then assign a style to each one. Scite has a 
very strange and rigid method of highlighting.

So hopefully some of you might have some suggestions. My requirements 
are minimal, but I'm still not happy with the syntax highlighting I'm 
seeing in a lot of editors out there.
-- 
http://mail.python.org/mailman/listinfo/python-list