Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add move caret msg. Add flag to choose internal caret or caret move msgs. | Michael Drake | 2013-01-30 | 1 | -5/+26 |
| | |||||
* | Create textarea_msg struct on stack, rather than using global. | Michael Drake | 2013-01-29 | 1 | -2/+8 |
| | |||||
* | Don't redraw if selection is unchanged. | Michael Drake | 2013-01-29 | 1 | -0/+3 |
| | |||||
* | Update textarea to inform client what it's doing with drags. | Michael Drake | 2013-01-29 | 1 | -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: C89 | François Revol | 2013-01-20 | 1 | -2/+3 |
| | |||||
* | Early scrollbar mouse handling. | Michael Drake | 2013-01-18 | 1 | -7/+95 |
| | |||||
* | Ensure we know for sure if scrollbar widget will want to scroll us. Avoid ↵ | Michael Drake | 2013-01-15 | 1 | -6/+12 |
| | | | | double xy to offset conversion. | ||||
* | Add parentheses. | Michael Drake | 2013-01-15 | 1 | -2/+2 |
| | |||||
* | Add scrollbars to textarea, and improve scrolling to try to keep caret in ↵ | Michael Drake | 2013-01-15 | 1 | -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 Drake | 2013-01-14 | 1 | -1/+1 |
| | |||||
* | Fix caret removal redraw to take account of border width. Fix ↵ | Michael Drake | 2013-01-14 | 1 | -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 Drake | 2013-01-13 | 1 | -46/+61 |
| | |||||
* | Rewrite redraw to handle selection properly. (Now text can change colour ↵ | Michael Drake | 2013-01-13 | 1 | -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 Drake | 2013-01-12 | 1 | -1/+1 |
| | |||||
* | Add textarea_setup struct to textarea_create API. | Michael Drake | 2013-01-12 | 1 | -10/+33 |
| | |||||
* | Fix redraw of caret when scroll offsets are non-zero, only caret has moved, ↵ | Michael Drake | 2013-01-10 | 1 | -0/+4 |
| | | | | and we're not getting a full textarea redraw. | ||||
* | Simplify routine to scroll ta so that caret is visible. | Michael Drake | 2013-01-10 | 1 | -16/+2 |
| | |||||
* | More wrap behaviour improvement. | Michael Drake | 2013-01-10 | 1 | -15/+17 |
| | |||||
* | Fix silly. | Michael Drake | 2013-01-10 | 1 | -1/+1 |
| | |||||
* | Fix previous caret position redraw. | Michael Drake | 2013-01-10 | 1 | -32/+4 |
| | |||||
* | Improve reflow in multiline textareas. | Michael Drake | 2013-01-10 | 1 | -4/+10 |
| | |||||
* | Simplfy caret placement and redraw. | Michael Drake | 2013-01-10 | 1 | -16/+13 |
| | |||||
* | Fix caret placement in multi-line textareas. | Michael Drake | 2013-01-10 | 1 | -5/+4 |
| | |||||
* | Add support for clipboard. Improve text selection behaviour. Various fixes. | Michael Drake | 2013-01-09 | 1 | -53/+133 |
| | |||||
* | Make get_xy_offset return both char and byte offset. (Byte being needed for ↵ | Michael Drake | 2013-01-09 | 1 | -19/+35 |
| | | | | selection replacement.) | ||||
* | Rename selection index markers. | Michael Drake | 2013-01-08 | 1 | -55/+55 |
| | |||||
* | Fix redraw of selection hightlight during selection drags. | Michael Drake | 2013-01-07 | 1 | -21/+10 |
| | |||||
* | Make comment concise. | Michael Drake | 2013-01-07 | 1 | -3/+1 |
| | |||||
* | Remove forward declaration. | Michael Drake | 2013-01-05 | 1 | -448/+441 |
| | |||||
* | Put exported function comments in header. | Michael Drake | 2013-01-05 | 1 | -97/+16 |
| | |||||
* | Start rationalising textarea widget. | Michael Drake | 2013-01-05 | 1 | -34/+34 |
| | |||||
* | Add support for selecting text fragments (based on a patch from Ole Loots) | John Mark Bell | 2012-06-30 | 1 | -0/+58 |
| | | | | svn path=/trunk/netsurf/; revision=14016 | ||||
* | Pass correct width/height values to textarea redraw callback when setting ↵ | Michael Drake | 2012-04-12 | 1 | -6/+19 |
| | | | | | | caret position. Reduces flicker. svn path=/trunk/netsurf/; revision=13851 | ||||
* | Fix caret redraw height. Thanks to m0n0. | Michael Drake | 2012-04-12 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=13850 | ||||
* | Remove redundant break. | Michael Drake | 2011-11-29 | 1 | -1/+0 |
| | | | | svn path=/trunk/netsurf/; revision=13194 | ||||
* | Fix caret position after deleting selection. Thanks to Ole Loots. | Michael Drake | 2011-11-29 | 1 | -3/+6 |
| | | | | svn path=/trunk/netsurf/; revision=13193 | ||||
* | Committing textarea_set_dimensions patch from Ole Loots. | John Mark Bell | 2011-11-21 | 1 | -0/+15 |
| | | | | svn path=/trunk/netsurf/; revision=13160 | ||||
* | Remove plotter table global. Pass a redraw context around redraw functions. ↵ | Michael Drake | 2011-06-30 | 1 | -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 Sanders | 2011-03-12 | 1 | -3/+1 |
| | | | | svn path=/trunk/netsurf/; revision=11975 | ||||
* | Pass clip rect to clip plotters as struct. Simplify clip rect handling in ↵ | Michael Drake | 2011-02-14 | 1 | -2/+2 |
| | | | | | | debug window code. Pass clip rect to select menu as struct. svn path=/trunk/netsurf/; revision=11683 | ||||
* | Constify. | Michael Drake | 2011-02-14 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=11682 | ||||
* | Pass clip rect to textarea redraw as struct rect. | Michael Drake | 2011-02-14 | 1 | -39/+36 |
| | | | | svn path=/trunk/netsurf/; revision=11681 | ||||
* | Take some calculations out of line redraw loop and fix rounding error. | Michael Drake | 2010-12-17 | 1 | -15/+17 |
| | | | | svn path=/trunk/netsurf/; revision=11089 | ||||
* | Only draw caret if there is no selection. | Michael Drake | 2010-12-15 | 1 | -1/+7 |
| | | | | svn path=/trunk/netsurf/; revision=11060 | ||||
* | Position text and caret correctly in single line text area. Make caret red ↵ | Michael Drake | 2010-12-15 | 1 | -14/+33 |
| | | | | | | so it stands out for now. It should be an OS caret anyway. svn path=/trunk/netsurf/; revision=11059 | ||||
* | + Refactor input handling from browser window code into content | Michael Drake | 2010-06-04 | 1 | -0/+1 |
| | | | | | | | | | | | | | handlers. + Disentangle all box tree manipulation from browser window code and put it where it belongs. + Move other content specific and other irrelevant code from browser window handling to appropriate places. + Put mouse state enum in new mouse header, since it's not just used by browser window code, and it is used by treeview windows on the treeview branch. svn path=/trunk/netsurf/; revision=10561 | ||||
* | Protect against NULL pointers | John Mark Bell | 2009-11-22 | 1 | -0/+3 |
| | | | | svn path=/trunk/netsurf/; revision=9681 | ||||
* | Make textarea widget unaware of its global position. Credit: paulblokus. | Michael Drake | 2009-08-13 | 1 | -87/+61 |
| | | | | svn path=/trunk/netsurf/; revision=9274 | ||||
* | Remove line that was removed in the other branch. | Michael Drake | 2009-07-29 | 1 | -2/+0 |
| | | | | svn path=/trunk/netsurf/; revision=8887 | ||||
* | Merged revisions 8808,8862-8863 via svnmerge from | Michael Drake | 2009-07-29 | 1 | -169/+180 |
| | | | | | | | | | | | | | | | | | | | | | svn://svn.netsurf-browser.org/branches/paulblokus/textinput ........ r8808 | paulblokus | 2009-07-26 22:52:53 +0100 (Sun, 26 Jul 2009) | 2 lines don't recalculate height already aviable ........ r8862 | paulblokus | 2009-07-28 21:39:06 +0100 (Tue, 28 Jul 2009) | 2 lines added css.c and css.h files which caused svn errors after using svnmerge ........ r8863 | paulblokus | 2009-07-28 21:43:53 +0100 (Tue, 28 Jul 2009) | 3 lines changed textarea redraw logic little fix of KEY_DELETE_LINE_START jandling ........ svn path=/trunk/netsurf/; revision=8886 |