aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextBox.cc
AgeCommit message (Collapse)AuthorFilesLines
2018-03-14fbtk, textbox, support horizontal paddingPete Beardmore1-13/+34
-add 'setPadding' function
2018-03-14fbtk, textbox, overflow selection deselectionPete Beardmore1-2/+27
changes the selection's deselection mechanism for oversized (e.g larger than window width) text new behaviour ensures the maximum selection width remains whilst the selection length is 'oversized'. only when the selection length has a width less than the window width will the selection (i.e. the highlight / inverted colours) reduce in size this is in contrast to the existing approach which would immediately decrease an oversized selection down to nothing visually, leaving the remainder of the selection 'off screen'. this 'looks like nothing is selected' when in fact it is, gives a poor UX
2018-03-14fbtk, textbox, fix selection release on clickPete Beardmore1-0/+2
2018-03-14fbtk, textbox, limit selection height to font sizePete Beardmore1-1/+1
2018-03-14fbtk, textbox, fix cursor position and sizePete Beardmore1-1/+1
-use font height for cursor -prefer 'descent to ascent' coverage as opposed to 'baseline plus way too high'!
2018-03-14fbtk, textbox, fix text vertical centeringPete Beardmore1-1/+1
2016-09-11Improve utf-8 supportThomas Lübking1-44/+41
Operate on inverse iscntrl check which allows us to avoid wide character conversions.
2016-09-11support ctrl+a for selecting allThomas Lübking1-0/+5
2016-09-11Support editing utf-8 text in TextBoxThomas Lübking1-22/+96
aka "Flüxbøx" βµγ, pardon, BUG: 720
2016-07-23clear selection on text inputThomas Lübking1-0/+1
Entering upcase chars would auto-select them Seems I don't need upcase chars very often ;-)
2016-05-28improve consistencyMathias Gumz1-7/+7
for a std::string::size_type, the right value to use is not "-1", but std::string::npos.
2016-05-28fix broken text selection for FbTk::TextBoxMathias Gumz1-1/+2
uninitialized variables cause all kind of problems.
2016-04-25Allow text selectionThomas Lübking1-61/+146
FbTk::TextBox now acts like any contemporary input field ;-)
2010-09-08introduced FbTk::BidiStringMathias Gumz1-26/+37
a 'BidiString' holds both the logical content and the visual reordered version of the content of a string. this helps to reduce the number of calls to reorder the string before drawing it (as introduced in the patch from Ken Bloom) and to be more consistent in menus and textboxes (drawing cursors and underlining text).
2010-09-05avoid constructing new strings implicitMathias Gumz1-1/+1
2008-09-27fix some goofy codeMark Tiefenbruck1-73/+38
2008-04-21some fixes for gcc 3.4Thomas Orgis1-1/+1
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-10-18fixed bug #1809786fluxgen1-1/+4
2007-06-29updates for compiling with gcc 4.3markt1-0/+10
2006-11-07cosmetic patch from slava againmathias1-2/+0
2006-04-16fix all compiler warnings with -Wallsimonb1-16/+20
2006-02-16updated copyright infomathias1-1/+1
2005-05-07patch from vadim to fix the issues in input-areas he introduced with his lastmathias1-24/+36
patch
2005-05-06more keyactions for textbox-patch from Vadim <suhanov_vadim at mail dot ru>mathias1-5/+86
2005-05-06Fix for #1160244, #1099704, #1094107:mathias1-4/+5
if the xkb-extension is enabled and the user switches between his/her keyboardlayouts fluxbox's keybhandling doesn't work well anymore because xkeyevent.state contains also xkb-related flags and thus we have to handle that with caution. KeyUtils now contain 'isolateModifierMask()' to really work only on the modifiers. why not as part of cleanMods() ? because the XLookupString return false results, eg TextBox's would only print chars from the first keyboardlayout.
2005-01-24copyright datemathias1-1/+1
2004-12-18fix segfaulting when new text is smaller than the oldtext,mathias1-0/+1
m_start_pos has to be 0 before calculating anything else.
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-10-08entering @ and ~ from germankeyboards work againakir1-3/+38
added some stuff to let the user use the numpad too
2004-10-06fix some keymovement issues, dunno if its completly correct that way. perhapsakir1-8/+27
a rewrite of the movement stuff is needed one day. modified buttonPressEvent so it will place the cursor to the right place
2004-09-11Font::drawText takes reference to FbDrawable instead of X Drawable + some ↵fluxgen1-2/+2
code cleaning
2004-08-31add autoconf check for std c++ headersrathnor1-2/+6
2004-08-11fixed fbrun crash when history item is bigger than entry box, sf: [ 1005182 ↵fluxgen1-2/+5
] fix for Bug with RequestID #877004, patch from mangala
2004-07-15delete keyfluxgen1-1/+4
2004-04-19minor fix for old gcc compilerfluxgen1-2/+2
2004-03-18C-c clears the window, and now @ and | works, patch from Mathias Gumzfluxgen1-2/+8
2004-01-21fixed cursor bug, thanks Mathias Gumzfluxgen1-2/+2
2004-01-08cleaningfluxgen1-5/+5
2003-12-30minor fix from keysfluxgen1-2/+2
2003-12-16fixed some icc warningsfluxgen1-4/+2
2003-10-05shuffle bunch of stuff from Keys into FbTk/KeyUtilrathnor1-3/+2
2003-09-08fixed lock mask for num and scroll lockfluxgen1-1/+6
2003-08-26text box for inputfluxgen1-0/+287