GNOME Bugzilla – Bug 597798
Hidden text in TextView doesn't hide a line-feed/carriage return
Last modified: 2018-04-15 00:24:50 UTC
Created attachment 145041 [details] C source code, gui description, and test text file, zipped Using a text tag to render a selection of text invisible fails if the text to be hidden includes one or more line ends anywhere within the selection. This is irrespective of wrap mode, including 'no wrap'. Expected result: all the selected text will be hidden and the surrounding text will be shown adjacent (with spaces as in the non-hidden text). Actual result: a new line is inserted after the hidden text. The .xml for the gui is developed with Glade 3.6.3; the OS is Ubuntu 9.04, up to date on patches. The text is UTF-8. I've included a minimum C source file, an XML file, and a text file 'raw2-xml.txt' for testing. Inserting a return anywhere between the <options> and </options> tags in the text file will show the fault.
*** Bug 611060 has been marked as a duplicate of this bug. ***
*** Bug 636285 has been marked as a duplicate of this bug. ***
*** Bug 640160 has been marked as a duplicate of this bug. ***
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla. If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab: https://gitlab.gnome.org/GNOME/gtk/issues/new