eric3: Line wrapping
9 answers - 470 bytes -

Hello,
I just ugraded to eric 3.9.0 and I noticed that overflowing lines (=
too long/wide for the editor window) are automatically wrapped.
How can I turn this off?
I can't seem to find a corresponing setting anywhere.
It's extremely annoying and I would like to use the horizontal
scrollbar instead.
Thanks for your help.
Cheers,
Danny
PyKDE mailing list PyKDE (AT) mats (DOT) imk.fraunhofer.de
No.1 | | 467 bytes |
| 
11.05.06 09:57:58, Danny Adair wrote:
I just ugraded to eric 3.9.0 and I noticed that overflowing lines (=
too long/wide for the editor window) are automatically wrapped.
How can I turn this off?
I can't seem to find a corresponing setting anywhere.
It's extremely annoying and I would like to use the horizontal
scrollbar instead.
Short Answer: You can't. See the archive, this was already asked today.
Andreas
No.2 | | 883 bytes |
| 
Thanks,
I'm shocked.
Is there maybe an easy way to patch the source?
Maybe in ?
self.setWrapMode(QextScintilla.SC_WRAP_WRD)
self.setWrapVisualFlags(\
| )
looks like the culprit to me but I've no idea of side-effects.
Detlev to the rescue? :-)
Thanks so much in advance.
Cheers,
Danny
5/11/06, Andreas Pakulat <apaku (AT) gmx (DOT) dewrote:
11.05.06 09:57:58, Danny Adair wrote:
I just ugraded to eric 3.9.0 and I noticed that overflowing lines (=
too long/wide for the editor window) are automatically wrapped.
How can I turn this off?
I can't seem to find a corresponing setting anywhere.
It's extremely annoying and I would like to use the horizontal
scrollbar instead.
Short Answer: You can't. See the archive, this was already asked today.
Andreas
No.3 | | 1500 bytes |
| 
Mmmh,
In
/
Line 2152 in setTextDisplay():
self.setWrapMode(QextScintilla.SC_WRAP_WRD)
If I change that to
self.setWrapMode(QextScintilla.SC_WRAP_NNE)
it seems to work for me. However, this seems too easy.
It would have been just one checkbox in the preferences and the go
something like
self.setWrapMode(Preferences.getEditor("LineWrap") and
QextScintilla.SC_WRAP_WRD or QextScintilla.SC_WRAP_NNE)
so I have the fear that there is a reason why it was hardcoded
Cheers,
Danny
5/11/06, Danny Adair <danny (AT) adair (DOT) netwrote:
Thanks,
I'm shocked.
Is there maybe an easy way to patch the source?
Maybe in ?
self.setWrapMode(QextScintilla.SC_WRAP_WRD)
self.setWrapVisualFlags(\
| )
looks like the culprit to me but I've no idea of side-effects.
Detlev to the rescue? :-)
Thanks so much in advance.
Cheers,
Danny
5/11/06, Andreas Pakulat <apaku (AT) gmx (DOT) dewrote:
11.05.06 09:57:58, Danny Adair wrote:
I just ugraded to eric 3.9.0 and I noticed that overflowing lines (=
too long/wide for the editor window) are automatically wrapped.
How can I turn this off?
I can't seem to find a corresponing setting anywhere.
It's extremely annoying and I would like to use the horizontal
scrollbar instead.
Short Answer: You can't. See the archive, this was already asked today.
Andreas
No.4 | | 1763 bytes |
| 
Am Donnerstag, 11. Mai 2006 01:54 schrieb Danny Adair:
Mmmh,
In
/
Line 2152 in setTextDisplay():
self.setWrapMode(QextScintilla.SC_WRAP_WRD)
If I change that to
self.setWrapMode(QextScintilla.SC_WRAP_NNE)
it seems to work for me. However, this seems too easy.
It would have been just one checkbox in the preferences and the go
something like
self.setWrapMode(Preferences.getEditor("LineWrap") and
QextScintilla.SC_WRAP_WRD or QextScintilla.SC_WRAP_NNE)
so I have the fear that there is a reason why it was hardcoded
The short answer is, it was a last minute change and I thought it was a good
idea. Maybe I was wrong and it should have been a config item. I'll plan this
for 3.9.1!
Detlev
Cheers,
Danny
5/11/06, Danny Adair <danny (AT) adair (DOT) netwrote:
Thanks,
I'm shocked.
Is there maybe an easy way to patch the source?
Maybe in ?
self.setWrapMode(QextScintilla.SC_WRAP_WRD)
self.setWrapVisualFlags(\
| >
)
looks like the culprit to me but I've no idea of side-effects.
Detlev to the rescue? :-)
Thanks so much in advance.
Cheers,
Danny
5/11/06, Andreas Pakulat <apaku (AT) gmx (DOT) dewrote:
11.05.06 09:57:58, Danny Adair wrote:
I just ugraded to eric 3.9.0 and I noticed that overflowing lines (=
too long/wide for the editor window) are automatically wrapped.
How can I turn this off?
I can't seem to find a corresponing setting anywhere.
It's extremely annoying and I would like to use the horizontal
scrollbar instead.
Short Answer: You can't. See the archive, this was already asked today.
Andreas
No.5 | | 1714 bytes |
| 
Hi,
a configuration option for line wrapping will be in eric3 3.9.1, which is
scheduled for release within a couple of days.
Detlev
Thursday 11 May 2006 01:54, Danny Adair wrote:
Mmmh,
In
/
Line 2152 in setTextDisplay():
self.setWrapMode(QextScintilla.SC_WRAP_WRD)
If I change that to
self.setWrapMode(QextScintilla.SC_WRAP_NNE)
it seems to work for me. However, this seems too easy.
It would have been just one checkbox in the preferences and the go
something like
self.setWrapMode(Preferences.getEditor("LineWrap") and
QextScintilla.SC_WRAP_WRD or QextScintilla.SC_WRAP_NNE)
so I have the fear that there is a reason why it was hardcoded
Cheers,
Danny
5/11/06, Danny Adair <danny (AT) adair (DOT) netwrote:
Thanks,
I'm shocked.
Is there maybe an easy way to patch the source?
Maybe in ?
self.setWrapMode(QextScintilla.SC_WRAP_WRD)
self.setWrapVisualFlags(\
| >
)
looks like the culprit to me but I've no idea of side-effects.
Detlev to the rescue? :-)
Thanks so much in advance.
Cheers,
Danny
5/11/06, Andreas Pakulat <apaku (AT) gmx (DOT) dewrote:
11.05.06 09:57:58, Danny Adair wrote:
I just ugraded to eric 3.9.0 and I noticed that overflowing lines (=
too long/wide for the editor window) are automatically wrapped.
How can I turn this off?
I can't seem to find a corresponing setting anywhere.
It's extremely annoying and I would like to use the horizontal
scrollbar instead.
Short Answer: You can't. See the archive, this was already asked today.
Andreas
No.6 | | 1064 bytes |
| 
When I paste text containing accented chars encoded in IS in an
eric text editor handling an utf-8 file, eric crashes.
It displays this in the console :
glibc detected double free or corruption (!prev):
0x000000000185b6b0
Abandon
Instead of crashing, I wish it would prompt me, for instance, "The text
to be pasted contains invalid characters in the current document encoding.
Select an encoding to convert the pasted data".
Also, in my Scite config, I have selected matched braces to be displayed
in bold with a colored background.
Eric only allows selection of another foreground color, but it's not very
easy to spot the highlighted matched brace when it's lost in a large
number of other braces I wish I could specify a background color in the
style preferences
Version info :
eric 3.8.1
Python 2.4.2 (#1, Mar 30 2006, 14:34:35)
[GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] on linux2
PyKDE mailing list PyKDE (AT) mats (DOT) imk.fraunhofer.de
No.7 | | 1436 bytes |
| 
Friday 09 June 2006 22:31, PFC wrote:
When I paste text containing accented chars encoded in IS in an
eric text editor handling an utf-8 file, eric crashes.
It displays this in the console :
glibc detected double free or corruption (!prev):
0x000000000185b6b0
Abandon
Instead of crashing, I wish it would prompt me, for instance, "The text
to be pasted contains invalid characters in the current document encoding.
Select an encoding to convert the pasted data".
Copy and Paste is done entirely by QScintilla, the editor widget used by
eric3. This has a problem handling invalid characters. Please post a bug
report to the Scintilla maintainers.
Also, in my Scite config, I have selected matched braces to be displayed
in bold with a colored background.
Eric only allows selection of another foreground color, but it's not very
easy to spot the highlighted matched brace when it's lost in a large
number of other braces I wish I could specify a background color in the
style preferences
You can select the background color for matched and unmatched braces. Please
upgrade to a newer version of eric3.
Version info :
eric 3.8.1
Python 2.4.2 (#1, Mar 30 2006, 14:34:35)
[GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] on linux2
PyKDE mailing list PyKDE (AT) mats (DOT) imk.fraunhofer.de
Regards,
Detlev
No.8 | | 1376 bytes |
| 
Sat, 10 Jun 2006 11:33:37 +0200, Detlev
<detlev (AT) die-offenbachs (DOT) dewrote:
Friday 09 June 2006 22:31, PFC wrote:
>When I paste text containing accented chars encoded in IS in an
>eric text editor handling an utf-8 file, eric crashes.
>It displays this in the console :
>>
>glibc detected double free or corruption (!prev):
>0x000000000185b6b0
>Abandon
>>
>Instead of crashing, I wish it would prompt me, for instance, "The text
>to be pasted contains invalid characters in the current document
>encoding.
>Select an encoding to convert the pasted data".
>
Copy and Paste is done entirely by QScintilla, the editor widget used by
eric3. This has a problem handling invalid characters. Please post a bug
report to the Scintilla maintainers.
Will do this.
You can select the background color for matched and unmatched braces.
Please
upgrade to a newer version of eric3.
K, done, this is good, thank you.
It has the same bug as in SciTE, though : in order to see the [un]matched
braces background, you need to disable the "Caretline Visible" option in
the Preferences.
PyKDE mailing list PyKDE (AT) mats (DOT) imk.fraunhofer.de
No.9 | | 1530 bytes |
| 
Saturday 10 June 2006 16:13, PFC wrote:
Sat, 10 Jun 2006 11:33:37 +0200, Detlev
<detlev (AT) die-offenbachs (DOT) dewrote:
Friday 09 June 2006 22:31, PFC wrote:
>When I paste text containing accented chars encoded in IS in an
>eric text editor handling an utf-8 file, eric crashes.
>It displays this in the console :
>>
>glibc detected double free or corruption (!prev):
>0x000000000185b6b0
>Abandon
>>
>Instead of crashing, I wish it would prompt me, for instance, "The text
>to be pasted contains invalid characters in the current document
>encoding.
>Select an encoding to convert the pasted data".
>
Copy and Paste is done entirely by QScintilla, the editor widget used by
eric3. This has a problem handling invalid characters. Please post a bug
report to the Scintilla maintainers.
Will do this.
You can select the background color for matched and unmatched braces.
Please
upgrade to a newer version of eric3.
K, done, this is good, thank you.
It has the same bug as in SciTE, though : in order to see the [un]matched
braces background, you need to disable the "Caretline Visible" option in
the Preferences.
It is using the same editor widget, which is Scintilla. That means, it has the
same editor bugs as SciTE. Please post a bug report to the Scintilla people.
Regards,
Detlev