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


Groups > comp.lang.python > #26164

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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <wxjmfauth@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:text': 0.05; 'subject:file': 0.07; 'utf-8': 0.07; 'python': 0.09; 'bytes,': 0.09; 'internally': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'looked': 0.10; "wouldn't": 0.11; '(windows)': 0.16; 'confusion': 0.16; 'cp1252': 0.16; 'editor,': 0.16; 'ported': 0.16; 'qscintilla': 0.16; 'subject:?)': 0.16; 'subject:Text': 0.16; 'subject:XML': 0.16; 'wxpython': 0.16; 'wrote:': 0.17; 'byte': 0.17; 'widget': 0.17; 'fine,': 0.22; 'cc:2**0': 0.23; "i've": 0.23; 'cc:no real name:2**0': 0.24; 'least': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'plain': 0.27; 'then.': 0.27; 'received:209.85.212': 0.28; 'chris': 0.28; 'fine': 0.28; '(my': 0.29; 'arithmetic': 0.29; 'probably': 0.29; "i'm": 0.29; 'worked': 0.30; 'version,': 0.30; 'problem.': 0.32; 'impression': 0.33; 'limitations': 0.33; 'received:google.com': 0.34; 'text': 0.34; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'really': 0.36; 'url:org': 0.36; 'anything': 0.36; 'subject: (': 0.36; 'editor': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'daily': 0.38; 'supports': 0.38; 'some': 0.38; 'things': 0.38; 'where': 0.40; 'think': 0.40; 'july': 0.60; 'from:no real name:2**0': 0.60; 'between': 0.63; 'jul': 0.65; 'subject:Search': 0.84; 'suits': 0.84; 'received:209.85.212.56': 0.91
Newsgroups comp.lang.python
Date Sat, 28 Jul 2012 12:23:34 -0700 (PDT)
In-Reply-To <mailman.2672.1343497647.4697.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=83.78.138.44; posting-account=ung4FAoAAAC46zhHJ0Nsnuox7M5gDvs_
References <mailman.2668.1343490711.4697.python-list@python.org> <70f3e677-550b-4727-8292-fda143a4e8c0@googlegroups.com> <mailman.2672.1343497647.4697.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 83.78.138.44
MIME-Version 1.0
Subject Re: OT: Text editors (was Re: Search and replace text in XML file?)
From wxjmfauth@gmail.com
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.2674.1343503423.4697.python-list@python.org> (permalink)
Lines 59
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1343503423 news.xs4all.nl 6898 [2001:888:2000:d::a6]:39163
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:26164

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web