[Gambas-user] Issue 625 in gambas: TextArea (gb.qt4) Mishandles CR Char
gambas at ...2524...
gambas at ...2524...
Mon Jun 15 09:44:23 CEST 2015
Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 625 by ceilingc... at ...626...: TextArea (gb.qt4) Mishandles CR Char
https://code.google.com/p/gambas/issues/detail?id=625
When TextArea control is set to a string containing CRLF it strips out CR
and leaves only LF. This does not occur for TextBox, but only for TextArea,
and then only when the project is utilizing gb.qt4 (as is required for
gb.qt4.webkit for my purposes).
As an example, when setting a TextBox's Text property to "Test\r\nTest2"
and then checking the length with Len() it is reported as 11 chars. When
setting a TextArea's Text to that very same string, Len() reports it as 10
chars. Using Mid() on the string to find the character immediately
after "Test" reports the first char as 10 (LF) rather than 13 (CR), and
then checking the next character immediately after that is "T" confirming
that the CR has indeed gone missing.
[System]
Gambas=3.7.0
OperatingSystem=Linux
Kernel=3.13.0-24-generic
Architecture=x86_64
Distribution=Linux Mint 17 Qiana
Desktop=GNOME
Theme=QPlastique
Language=en_US.UTF-8
Memory=3952M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+3=libgtk-3.so.0.1000.8
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4
Attachments:
TextBug.tar.gz 4.8 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
More information about the User
mailing list