Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

OT: Text editors (was Re: Search and replace text in XML file?)

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


rosuav at gmail

Jul 28, 2012, 8:51 AM

Post #1 of 13 (652 views)
Permalink
OT: Text editors (was Re: Search and replace text in XML file?)

On Sat, Jul 28, 2012 at 6:29 PM, Mark Lawrence <breamoreboy [at] yahoo> wrote:
> I highly recommend the use of notepad++. If anyone knows of a better text
> editor for Windows please let me know :)

My current preference is SciTE, available on Linux and Windows both.
It's configured using Lua, has lexers (and thus syntax highlighters
and auto-indenters) for a huge list of languages (including Python, or
I wouldn't mention it), and isn't RAM-hungry. It's not bug-free (but
what isn't), and has a few limitations (eg it only really supports
UTF-8), but I've found it excellent as both text editor and
pseudo-IDE.

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


alister.ware at ntlworld

Jul 28, 2012, 10:17 AM

Post #2 of 13 (632 views)
Permalink
Re: OT: Text editors (was Re: Search and replace text in XML file?) [In reply to]

On Sun, 29 Jul 2012 01:51:48 +1000, Chris Angelico wrote:

> On Sat, Jul 28, 2012 at 6:29 PM, Mark Lawrence <breamoreboy [at] yahoo>
> wrote:
>> I highly recommend the use of notepad++. If anyone knows of a better
>> text editor for Windows please let me know :)
>
> My current preference is SciTE, available on Linux and Windows both.
> It's configured using Lua, has lexers (and thus syntax highlighters and
> auto-indenters) for a huge list of languages (including Python, or I
> wouldn't mention it), and isn't RAM-hungry. It's not bug-free (but what
> isn't), and has a few limitations (eg it only really supports UTF-8),
> but I've found it excellent as both text editor and pseudo-IDE.
>
> ChrisA

I like Geany at present, although i have not tried too many others



--
Nothing increases your golf score like witnesses.
--
http://mail.python.org/mailman/listinfo/python-list


wxjmfauth at gmail

Jul 28, 2012, 10:43 AM

Post #3 of 13 (632 views)
Permalink
Re: OT: Text editors (was Re: Search and replace text in XML file?) [In reply to]

On Saturday, July 28, 2012 5:51:48 PM UTC+2, Chris Angelico wrote:

... and has a few limitations (eg it only really supports
>
> UTF-8),

?!

It's my daily plain text editor (Windows) since ? (I don't remember).
And I'm using it for utf-8, utf-16 and cp1252 (my favorite coding)
without problems.

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


wxjmfauth at gmail

Jul 28, 2012, 10:43 AM

Post #4 of 13 (633 views)
Permalink
Re: OT: Text editors (was Re: Search and replace text in XML file?) [In reply to]

On Saturday, July 28, 2012 5:51:48 PM UTC+2, Chris Angelico wrote:

... and has a few limitations (eg it only really supports
>
> UTF-8),

?!

It's my daily plain text editor (Windows) since ? (I don't remember).
And I'm using it for utf-8, utf-16 and cp1252 (my favorite coding)
without problems.

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


rosuav at gmail

Jul 28, 2012, 10:47 AM

Post #5 of 13 (632 views)
Permalink
Re: OT: Text editors (was Re: Search and replace text in XML file?) [In reply to]

On Sun, Jul 29, 2012 at 3:43 AM, <wxjmfauth [at] gmail> wrote:
> On Saturday, July 28, 2012 5:51:48 PM UTC+2, Chris Angelico wrote:
>
> ... and has a few limitations (eg it only really supports
>>
>> UTF-8),
>
> ?!
>
> It's my daily plain text editor (Windows) since ? (I don't remember).
> And I'm using it for utf-8, utf-16 and cp1252 (my favorite coding)
> without problems.

Okay, I must have misunderstood something then. Was under the
impression that it had some internals where it worked only in bytes,
and that things wouldn't always work if you used anything other than
UTF-8. It's not an issue for me, since UTF-8 suits me just fine, so
I've never looked into it. Apologies for the Elmer FUD!

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


python.list at tim

Jul 28, 2012, 11:29 AM

Post #6 of 13 (632 views)
Permalink
Re: OT: Text editors (was Re: Search and replace text in XML file?) [In reply to]

On Sat, Jul 28, 2012 at 6:29 PM, Mark Lawrence wrote:
> I highly recommend the use of notepad++. If anyone knows of a
> better text editor for Windows please let me know :)

I'll advocate for Vim which is crazy-powerful and works nicely on
just about any platform I touch.

Others will advocate for Emacs, which I can't say fits the way my
brain works but it's also powerful and loved by many.

The ubiquity of these two platforms makes a worthwhile investment of
time spent in learning at least one if not both.

-tkc



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


wxjmfauth at gmail

Jul 28, 2012, 12:23 PM

Post #7 of 13 (623 views)
Permalink
Re: OT: Text editors (was Re: Search and replace text in XML file?) [In reply to]

On Saturday, July 28, 2012 7:47:24 PM UTC+2, Chris Angelico wrote:
> On Sun, Jul 29, 2012 at 3:43 AM, <wxjmfauth [at] gmail> wrote:
>
> > On Saturday, July 28, 2012 5:51:48 PM UTC+2, Chris Angelico wrote:
>
> >
>
> > ... and has a few limitations (eg it only really supports
>
> >>
>
> >> UTF-8),
>
> >
>
> > ?!
>
> >
>
> > It's my daily plain text editor (Windows) since ? (I don't remember).
>
> > And I'm using it for utf-8, utf-16 and cp1252 (my favorite coding)
>
> > without problems.
>
>
>
> Okay, I must have misunderstood something then. Was under the
>
> impression that it had some internals where it worked only in bytes,
>
> and that things wouldn't always work if you used anything other than
>
> UTF-8. It's not an issue for me, since UTF-8 suits me just fine, so
>
> I've never looked into it. Apologies for the Elmer FUD!
>
>
>
> ChrisA

No problem. Important is just to say SciTE works
fine with many codings.

Having said this, I think there is probably some
confusion between the scintilla widget and the editor,
the application, SciTE using scintilla.

In the Python world, the ported "scintilla widget",
wxStyleTextCtrl in wxPython and QScintilla in PyQt
are working internally in utf-8 and the api's, at least
in wxPython, work with a byte arithmetic (annoying).
If I used the PyQt version, I do not remember the status
with Qt. I prefer the QPlainTextEdit widget.

For info: http://scintilla.org/

jmf

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


wxjmfauth at gmail

Jul 28, 2012, 12:23 PM

Post #8 of 13 (624 views)
Permalink
Re: OT: Text editors (was Re: Search and replace text in XML file?) [In reply to]

On Saturday, July 28, 2012 7:47:24 PM UTC+2, Chris Angelico wrote:
> On Sun, Jul 29, 2012 at 3:43 AM, <wxjmfauth [at] gmail> wrote:
>
> > On Saturday, July 28, 2012 5:51:48 PM UTC+2, Chris Angelico wrote:
>
> >
>
> > ... and has a few limitations (eg it only really supports
>
> >>
>
> >> UTF-8),
>
> >
>
> > ?!
>
> >
>
> > It's my daily plain text editor (Windows) since ? (I don't remember).
>
> > And I'm using it for utf-8, utf-16 and cp1252 (my favorite coding)
>
> > without problems.
>
>
>
> Okay, I must have misunderstood something then. Was under the
>
> impression that it had some internals where it worked only in bytes,
>
> and that things wouldn't always work if you used anything other than
>
> UTF-8. It's not an issue for me, since UTF-8 suits me just fine, so
>
> I've never looked into it. Apologies for the Elmer FUD!
>
>
>
> ChrisA

No problem. Important is just to say SciTE works
fine with many codings.

Having said this, I think there is probably some
confusion between the scintilla widget and the editor,
the application, SciTE using scintilla.

In the Python world, the ported "scintilla widget",
wxStyleTextCtrl in wxPython and QScintilla in PyQt
are working internally in utf-8 and the api's, at least
in wxPython, work with a byte arithmetic (annoying).
If I used the PyQt version, I do not remember the status
with Qt. I prefer the QPlainTextEdit widget.

For info: http://scintilla.org/

jmf

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


hamilton at nothere

Jul 28, 2012, 2:43 PM

Post #9 of 13 (619 views)
Permalink
Re: OT: Text editors (was Re: Search and replace text in XML file?) [In reply to]

On 7/28/2012 1:23 PM, wxjmfauth [at] gmail wrote:
> For info: http://scintilla.org/

Just did a quick check on scintilla.

This looks like a single file editor.

Is there a project like capability in there that I did not notice ?

Thanks

hamilton


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


rosuav at gmail

Jul 28, 2012, 3:42 PM

Post #10 of 13 (619 views)
Permalink
Re: OT: Text editors (was Re: Search and replace text in XML file?) [In reply to]

On Sun, Jul 29, 2012 at 7:43 AM, hamilton <hamilton [at] nothere> wrote:
> On 7/28/2012 1:23 PM, wxjmfauth [at] gmail wrote:
>>
>> For info: http://scintilla.org/
>
>
> Just did a quick check on scintilla.
>
> This looks like a single file editor.
>
> Is there a project like capability in there that I did not notice ?

Scintilla is a text editing widget; SciTE is a Scintilla-based Text
Editor (and is by the same author). The editor wraps up Scintilla with
facilities for handling multiple files simultaneously (multiple
buffers/tabbed display/whatever you want to call it).

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


hamilton at nothere

Jul 28, 2012, 7:33 PM

Post #11 of 13 (615 views)
Permalink
Re: OT: Text editors (was Re: Search and replace text in XML file?) [In reply to]

On 7/28/2012 4:42 PM, Chris Angelico wrote:
> On Sun, Jul 29, 2012 at 7:43 AM, hamilton <hamilton [at] nothere> wrote:
>> On 7/28/2012 1:23 PM, wxjmfauth [at] gmail wrote:
>>>
>>> For info: http://scintilla.org/
>>
>>
>> Just did a quick check on scintilla.
>>
>> This looks like a single file editor.
>>
>> Is there a project like capability in there that I did not notice ?
>
> Scintilla is a text editing widget; SciTE is a Scintilla-based Text
> Editor (and is by the same author). The editor wraps up Scintilla with
> facilities for handling multiple files simultaneously (multiple
> buffers/tabbed display/whatever you want to call it).
>
> ChrisA
>
Ok, so the answer is no.

Thanks

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


rosuav at gmail

Jul 28, 2012, 7:37 PM

Post #12 of 13 (615 views)
Permalink
Re: OT: Text editors (was Re: Search and replace text in XML file?) [In reply to]

On Sun, Jul 29, 2012 at 12:33 PM, hamilton <hamilton [at] nothere> wrote:
> Ok, so the answer is no.

In terms of the editor, it's fine; you need only worry about Scintilla
itself if you're aiming to incorporate it in your own program.

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


amc96 at cam

Jul 29, 2012, 10:55 AM

Post #13 of 13 (610 views)
Permalink
Re: OT: Text editors (was Re: Search and replace text in XML file?) [In reply to]

On 28/07/2012 16:51, Chris Angelico wrote:
> On Sat, Jul 28, 2012 at 6:29 PM, Mark Lawrence <breamoreboy [at] yahoo> wrote:
>> I highly recommend the use of notepad++. If anyone knows of a better text
>> editor for Windows please let me know :)
>
> My current preference is SciTE, available on Linux and Windows both.
> It's configured using Lua, has lexers (and thus syntax highlighters
> and auto-indenters) for a huge list of languages (including Python, or
> I wouldn't mention it), and isn't RAM-hungry. It's not bug-free (but
> what isn't), and has a few limitations (eg it only really supports
> UTF-8), but I've found it excellent as both text editor and
> pseudo-IDE.
>
> ChrisA
>

I use emacs, which is also available for windows
(http://ftp.gnu.org/gnu/emacs/windows/ et al)

As my work requires mixing between windows, various *NIXes, GUIs and
terminals, having a common text editor across all is fantastically useful.

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

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.