https://bugs.documentfoundation.org/show_bug.cgi?id=100189
V Stuart Foote <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Version|5.0.6.2 release |Inherited From OOo
Resolution|--- |NOTABUG
--- Comment #6 from V Stuart Foote <[email protected]> ---
(In reply to Dr. Matthias Weisser from comment #5)
>
> What in fact I am getting is: test test test test test. This is clearly not
> what I am expecting here. Why is there a white space added around the word
> "test" which I do not want to have?
>
> It seems to be hard inserting a word without spaces in between. Even if I
> delete the last space with each paste an unwanted space comes up each time.
> This does not happen when I use "Inhalte einfügen" "unformatierter Text"
> which costs much more time because of using the pull down menu.
Yes, believe this is intended behavior of the edit engine and is correct.
Set up this simple test case:
<quote>
Test test test
mist mist mist
</quote>
So, IIUC if you double click select the center "test" the entire word is
selected because it has "protected" word boundaries. If you position the edit
cursor between the "mi" and "st" of the center mist and <Ctrl>+V it will paste
with white space boundaries intact.
You can directly paste unformatted text "test" by using the
<Ctrl><Alt><Shift>+V short cut to avoid the GUI paste special.
Conversely, if you select the initial "Test" or the ending "test" (so its ^Test
or test$) the word boundaries are not protected and when you paste between "mi"
and "st" you'll get either "miTestst" or "mitestst".
Likewise if you select "est" from the center test, it is does not consider
word boundaries so when you insert between "mi" and "st" you'll get "miestst"
and so on.
Again I believe this is as intended and is inherited from OOo.
Version: 5.1.3.2 (x64)
Build ID: 644e4637d1d8544fd9f56425bd6cec110e49301b
Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Version: 4.1.5.2
Build ID: a02f36998a4af5e2f9fbec2b7e9f70a8b0bc934
LibreOffice 3.5.7.2
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
LibreOffice 3.3.0
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
=-ref-=
http://opengrok.libreoffice.org/xref/core/vcl/source/edit/textview.cxx#789
http://opengrok.libreoffice.org/xref/core/vcl/source/edit/texteng.cxx#2405
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs