Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26156 > unrolled thread

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

Started byChris Angelico <rosuav@gmail.com>
First post2012-07-29 01:51 +1000
Last post2012-07-29 18:55 +0100
Articles 12 — 5 participants

Back to article view | Back to comp.lang.python


Contents

  OT: Text editors (was Re: Search and replace text in XML file?) Chris Angelico <rosuav@gmail.com> - 2012-07-29 01:51 +1000
    Re: OT: Text editors (was Re: Search and replace text in XML file?) Alister <alister.ware@ntlworld.com> - 2012-07-28 17:17 +0000
    Re: OT: Text editors (was Re: Search and replace text in XML file?) wxjmfauth@gmail.com - 2012-07-28 10:43 -0700
    Re: OT: Text editors (was Re: Search and replace text in XML file?) Chris Angelico <rosuav@gmail.com> - 2012-07-29 03:47 +1000
      Re: OT: Text editors (was Re: Search and replace text in XML file?) wxjmfauth@gmail.com - 2012-07-28 12:23 -0700
      Re: OT: Text editors (was Re: Search and replace text in XML file?) wxjmfauth@gmail.com - 2012-07-28 12:23 -0700
        Re: OT: Text editors (was Re: Search and replace text in XML file?) hamilton <hamilton@nothere.com> - 2012-07-28 15:43 -0600
          Re: OT: Text editors (was Re: Search and replace text in XML file?) Chris Angelico <rosuav@gmail.com> - 2012-07-29 08:42 +1000
            Re: OT: Text editors (was Re: Search and replace text in XML file?) hamilton <hamilton@nothere.com> - 2012-07-28 20:33 -0600
              Re: OT: Text editors (was Re: Search and replace text in XML file?) Chris Angelico <rosuav@gmail.com> - 2012-07-29 12:37 +1000
    Re: OT: Text editors (was Re: Search and replace text in XML file?) wxjmfauth@gmail.com - 2012-07-28 10:43 -0700
    Re: OT: Text editors (was Re: Search and replace text in XML file?) Andrew Cooper <amc96@cam.ac.uk> - 2012-07-29 18:55 +0100

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

FromChris Angelico <rosuav@gmail.com>
Date2012-07-29 01:51 +1000
SubjectOT: Text editors (was Re: Search and replace text in XML file?)
Message-ID<mailman.2668.1343490711.4697.python-list@python.org>
On Sat, Jul 28, 2012 at 6:29 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> 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

[toc] | [next] | [standalone]


#26158

FromAlister <alister.ware@ntlworld.com>
Date2012-07-28 17:17 +0000
Message-ID<Q8VQr.659675$LY3.352288@fx22.am4>
In reply to#26156
On Sun, 29 Jul 2012 01:51:48 +1000, Chris Angelico wrote:

> On Sat, Jul 28, 2012 at 6:29 PM, Mark Lawrence <breamoreboy@yahoo.co.uk>
> 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.

[toc] | [prev] | [next] | [standalone]


#26160

Fromwxjmfauth@gmail.com
Date2012-07-28 10:43 -0700
Message-ID<mailman.2671.1343497442.4697.python-list@python.org>
In reply to#26156
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

[toc] | [prev] | [next] | [standalone]


#26161

FromChris Angelico <rosuav@gmail.com>
Date2012-07-29 03:47 +1000
Message-ID<mailman.2672.1343497647.4697.python-list@python.org>
In reply to#26156
On Sun, Jul 29, 2012 at 3:43 AM,  <wxjmfauth@gmail.com> 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

[toc] | [prev] | [next] | [standalone]


#26164

Fromwxjmfauth@gmail.com
Date2012-07-28 12:23 -0700
Message-ID<mailman.2674.1343503423.4697.python-list@python.org>
In reply to#26161
On Saturday, July 28, 2012 7:47:24 PM UTC+2, Chris Angelico wrote:
> On Sun, Jul 29, 2012 at 3:43 AM,  <wxjmfauth@gmail.com> 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

[toc] | [prev] | [next] | [standalone]


#26165

Fromwxjmfauth@gmail.com
Date2012-07-28 12:23 -0700
Message-ID<2cc0a214-f349-473d-8acb-dcbd10f5a782@googlegroups.com>
In reply to#26161
On Saturday, July 28, 2012 7:47:24 PM UTC+2, Chris Angelico wrote:
> On Sun, Jul 29, 2012 at 3:43 AM,  <wxjmfauth@gmail.com> 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

[toc] | [prev] | [next] | [standalone]


#26166

Fromhamilton <hamilton@nothere.com>
Date2012-07-28 15:43 -0600
Message-ID<jv1meo$ugu$1@dont-email.me>
In reply to#26165
On 7/28/2012 1:23 PM, wxjmfauth@gmail.com 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

[toc] | [prev] | [next] | [standalone]


#26168

FromChris Angelico <rosuav@gmail.com>
Date2012-07-29 08:42 +1000
Message-ID<mailman.2675.1343515329.4697.python-list@python.org>
In reply to#26166
On Sun, Jul 29, 2012 at 7:43 AM, hamilton <hamilton@nothere.com> wrote:
> On 7/28/2012 1:23 PM, wxjmfauth@gmail.com 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

[toc] | [prev] | [next] | [standalone]


#26172

Fromhamilton <hamilton@nothere.com>
Date2012-07-28 20:33 -0600
Message-ID<jv27d7$mls$1@dont-email.me>
In reply to#26168
On 7/28/2012 4:42 PM, Chris Angelico wrote:
> On Sun, Jul 29, 2012 at 7:43 AM, hamilton <hamilton@nothere.com> wrote:
>> On 7/28/2012 1:23 PM, wxjmfauth@gmail.com 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

[toc] | [prev] | [next] | [standalone]


#26173

FromChris Angelico <rosuav@gmail.com>
Date2012-07-29 12:37 +1000
Message-ID<mailman.2678.1343529466.4697.python-list@python.org>
In reply to#26172
On Sun, Jul 29, 2012 at 12:33 PM, hamilton <hamilton@nothere.com> 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

[toc] | [prev] | [next] | [standalone]


#26162

Fromwxjmfauth@gmail.com
Date2012-07-28 10:43 -0700
Message-ID<70f3e677-550b-4727-8292-fda143a4e8c0@googlegroups.com>
In reply to#26156
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

[toc] | [prev] | [next] | [standalone]


#26205

FromAndrew Cooper <amc96@cam.ac.uk>
Date2012-07-29 18:55 +0100
Message-ID<sOeRr.302460$v24.32436@fx11.am4>
In reply to#26156
On 28/07/2012 16:51, Chris Angelico wrote:
> On Sat, Jul 28, 2012 at 6:29 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> 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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web