[python-win32] Editor Replace function limitation

John Machin sjmachin at lexicon.net
Wed Jun 8 23:45:15 CEST 2005


Graeme Glass wrote:

>On python 2.3.4 pythonwin build 203, i don't seem to have a problem.
>can replace much more than 30 chars.
>Not sure what your problem could be, but just thought that i would let
>you know it's must your setup not pythonwin.
>  
>
Graeme, what "setup" do you refer to? PythonWin appears to have no 
configuration opportunity for changing the max size of a text 
replacement -- and indeed I can't imagine that any text editor would 
ever have had such an option, especially after malloc() was invented ...

>(you proberbly already tried this,) but try installing the a diffrent build. 
>
>On 6/8/05, Robert Adams <radams at nassco.com> wrote:
>  
>
>> 
>>Do I have a setup issue or is the PythonWin editor Replace function limited
>>to 30 characters ? 
>>    
>>
Robert, 

It worked for me on 2.4.1 / build 204. I typed in "abc" then replaced 
"b" by "ab....yzAB...JK".

The size of the box for typing in the replacement string is only 30 
characters, but it does scroll if you keep on typing -- have you tried 
this? What makes you think it is limited to 30 characters?

Regards,
John



More information about the Python-win32 mailing list