Bug 79371 - PHPBB2 Text modifications should surround selected text
Summary: PHPBB2 Text modifications should surround selected text
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
Depends on:
Reported: 2004-04-10 12:47 UTC by Marco Gusy
Modified: 2006-01-28 21:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Note You need to log in before you can comment on or make changes to this bug.
Description Marco Gusy 2004-04-10 12:47:52 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Compiled From Sources
OS:          Linux

When I enter a message in Phpbb i often add font modifications by selecting a portion of my text and pressing the modification button. Example In the text:

Great news to you all!
I had a promotion, and earn 30$/month

I select "great news to you all!" and then press the "FONT BOLD" button.
In Microsoft Internet Explorer (didn't try on Mozilla) this action puts the starting bold tag at the beginning of the selection and the end tag at the ending.
In Konqueror it always puts only the beginning tag at the end of the tex, no matter any selection or cursor position.

Internet explorer example:
[b]Great news to you all![/b]
I had a promotion, and earn 30$/month

Konqueror example:
Great news to you all!
I had a promotion, and earn 30$/month[b]

Can Konqueror emulate this behavior? It's much faster...
Comment 1 Gleb Litvjak 2005-01-17 17:39:20 UTC
Yes, I've noticed this also - Mozilla and Firefox put the tags at the both ends of the selected text, while konqueror does not. This is a pity, as konqueror is my default browser, and my favourite forum (the gentoo forums) is made using phpbb. It would be very nice if the feature was implemented in konqueror.
Comment 2 Nicola Ruggero 2005-07-21 02:38:58 UTC
*** This bug has been confirmed by popular vote. ***
Comment 3 Maksim Orlovich 2006-01-28 21:57:42 UTC
SVN commit 503345 by orlovich:

-Implement selectionStart, selectionEnd, and textLength on textarea
-Fix the value on physical wrapped mode to not invent spaces
-Proper changed check on updateFromElement, so we don't reset the textarea
Among other things, makes phpBB editting buttons work.

 M  +34 -0     dom/html_form.cpp  
 M  +39 -1     dom/html_form.h  
 M  +8 -0      ecma/kjs_html.cpp  
 M  +2 -1      ecma/kjs_html.h  
 M  +54 -1     html/html_formimpl.cpp  
 M  +6 -0      html/html_formimpl.h  
 M  +138 -2    rendering/render_form.cpp  
 M  +16 -0     rendering/render_form.h