EditBox/MultiLineEditbox - eraseSelectedText()

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

cyberjunk
Not too shy to talk
Not too shy to talk
Posts: 25
Joined: Fri Jan 17, 2014 02:39

EditBox/MultiLineEditbox - eraseSelectedText()

Postby cyberjunk » Fri Sep 26, 2014 16:09

Two things I'd like to mention:

1) I think it would be useful to make the methods "eraseSelectedText()" of EditBox and the MultiLineEditbox public.
In my case I wanted to implement a CTRL+X clipboard feature and was exactly looking for this method to erase the selected text.

2) The "eraseSelectedText()" for Editbox is not working correctly for me in 0.8.3.
Compare it with the same method of MultiLineEditbox and you'll notice that it is doing the "clearSelection()" call to early, before it is actually reading the selected substring.

Here's a link to the changeset on my local CEGUI 0.8.3 sources in SVN, but I've verified these things are still the same in the current main head revision:
https://code.google.com/p/meridian59-do ... etail?r=89

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: EditBox/MultiLineEditbox - eraseSelectedText()

Postby Ident » Sat Sep 27, 2014 07:16

Could you make a pull request of these changes for v-0 branch in our bitbucket repository? The visibility change breaks ABI so this cannot go into v0-8.
CrazyEddie: "I don't like GUIs"


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 11 guests