summaryrefslogtreecommitdiff
path: root/desktop/textarea.c
Commit message (Collapse)AuthorAgeFilesLines
* Improve scroll-to-caret behaviour.Michael Drake2013-02-081-40/+59
|
* Support dropping text file on textarea widget.Michael Drake2013-02-081-0/+46
|
* Add scrollwheel support to textareas.Michael Drake2013-02-081-0/+16
|
* Tweak selection rendering. Adjusting layout doesn't emit redraw request. ↵Michael Drake2013-02-081-31/+7
| | | | Client must redraw when it wants it.
* Don't lose fractional part of text pt size to rounding.Michael Drake2013-02-071-3/+2
|
* Native caret not now set in redraw. Prevents endless redraw when textarea ↵Michael Drake2013-02-071-24/+40
| | | | has caret.
* Fix empty textarea reflow. Fix empty line (just \n) redraw. Add set layout ↵Michael Drake2013-02-061-3/+36
| | | | function to set size and padding.
* Pull flags out of textarea_setup.Michael Drake2013-02-021-5/+6
|
* Add support for password text inputs.Michael Drake2013-02-011-135/+228
| | | | | + Text display obscured. + Cut/Copy put the obscured version on the clipboard.
* Add move caret msg. Add flag to choose internal caret or caret move msgs.Michael Drake2013-01-301-5/+26
|
* Create textarea_msg struct on stack, rather than using global.Michael Drake2013-01-291-2/+8
|
* Don't redraw if selection is unchanged.Michael Drake2013-01-291-0/+3
|
* Update textarea to inform client what it's doing with drags.Michael Drake2013-01-291-77/+177
| | | | | | | Now single callback for both redraw requests and drag reports. Update treeview to use new textarea API. Update Atari URL bar to use new textarea API. (Ignores drag reports, currently.) Minor textarea fixes.
* textarea: C89François Revol2013-01-201-2/+3
|
* Early scrollbar mouse handling.Michael Drake2013-01-181-7/+95
|
* Ensure we know for sure if scrollbar widget will want to scroll us. Avoid ↵Michael Drake2013-01-151-6/+12
| | | | double xy to offset conversion.
* Add parentheses.Michael Drake2013-01-151-2/+2
|
* Add scrollbars to textarea, and improve scrolling to try to keep caret in ↵Michael Drake2013-01-151-118/+310
| | | | centre. Currently the scrollbars are mostly decoration, although they show accuratly where you are scrolled to in the area. TODO: Pass mouse input to scrollbars.
* Use right padding. Thanks jmb.Michael Drake2013-01-141-1/+1
|
* Fix caret removal redraw to take account of border width. Fix ↵Michael Drake2013-01-141-3/+4
| | | | scroll_visible to take account of border width in vertical scroll.
* Implement most of the styling needed for HTML. Allow caret to be hidden.Michael Drake2013-01-131-46/+61
|
* Rewrite redraw to handle selection properly. (Now text can change colour ↵Michael Drake2013-01-131-93/+104
| | | | inside selection, rather than just rendering a rectangle under the normal line of text. This removes colour restrictions, allowing e.g. inversion for selected text.)
* Add background colour to textarea_redraw API. Add source comments.Michael Drake2013-01-121-1/+1
|
* Add textarea_setup struct to textarea_create API.Michael Drake2013-01-121-10/+33
|
* Fix redraw of caret when scroll offsets are non-zero, only caret has moved, ↵Michael Drake2013-01-101-0/+4
| | | | and we're not getting a full textarea redraw.
* Simplify routine to scroll ta so that caret is visible.Michael Drake2013-01-101-16/+2
|
* More wrap behaviour improvement.Michael Drake2013-01-101-15/+17
|
* Fix silly.Michael Drake2013-01-101-1/+1
|
* Fix previous caret position redraw.Michael Drake2013-01-101-32/+4
|
* Improve reflow in multiline textareas.Michael Drake2013-01-101-4/+10
|
* Simplfy caret placement and redraw.Michael Drake2013-01-101-16/+13
|
* Fix caret placement in multi-line textareas.Michael Drake2013-01-101-5/+4
|
* Add support for clipboard. Improve text selection behaviour. Various fixes.Michael Drake2013-01-091-53/+133
|
* Make get_xy_offset return both char and byte offset. (Byte being needed for ↵Michael Drake2013-01-091-19/+35
| | | | selection replacement.)
* Rename selection index markers.Michael Drake2013-01-081-55/+55
|
* Fix redraw of selection hightlight during selection drags.Michael Drake2013-01-071-21/+10
|
* Make comment concise.Michael Drake2013-01-071-3/+1
|
* Remove forward declaration.Michael Drake2013-01-051-448/+441
|
* Put exported function comments in header.Michael Drake2013-01-051-97/+16
|
* Start rationalising textarea widget.Michael Drake2013-01-051-34/+34
|
* Add support for selecting text fragments (based on a patch from Ole Loots)John Mark Bell2012-06-301-0/+58
| | | | svn path=/trunk/netsurf/; revision=14016
* Pass correct width/height values to textarea redraw callback when setting ↵Michael Drake2012-04-121-6/+19
| | | | | | caret position. Reduces flicker. svn path=/trunk/netsurf/; revision=13851
* Fix caret redraw height. Thanks to m0n0.Michael Drake2012-04-121-1/+1
| | | | svn path=/trunk/netsurf/; revision=13850
* Remove redundant break.Michael Drake2011-11-291-1/+0
| | | | svn path=/trunk/netsurf/; revision=13194
* Fix caret position after deleting selection. Thanks to Ole Loots.Michael Drake2011-11-291-3/+6
| | | | svn path=/trunk/netsurf/; revision=13193
* Committing textarea_set_dimensions patch from Ole Loots.John Mark Bell2011-11-211-0/+15
| | | | svn path=/trunk/netsurf/; revision=13160
* Remove plotter table global. Pass a redraw context around redraw functions. ↵Michael Drake2011-06-301-12/+14
| | | | | | Knockout could be handled better. Note: untested on most front ends. svn path=/trunk/netsurf/; revision=12543
* Saturated maths in css fixed point Vincent Sanders2011-03-121-3/+1
| | | | svn path=/trunk/netsurf/; revision=11975
* Pass clip rect to clip plotters as struct. Simplify clip rect handling in ↵Michael Drake2011-02-141-2/+2
| | | | | | debug window code. Pass clip rect to select menu as struct. svn path=/trunk/netsurf/; revision=11683
* Constify.Michael Drake2011-02-141-1/+1
| | | | svn path=/trunk/netsurf/; revision=11682