Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Init clipboard to NULL, just in case front end implementation of ↵ | Michael Drake | 2013-02-12 | 1 | -1/+1 | |
| | | | | gui_get_clipboard fails to set it on empty clipboard. | |||||
* | When reqesting redraaw to remove internal caret, make sure caret is already ↵ | Michael Drake | 2013-02-12 | 1 | -0/+3 | |
| | | | | removed as the redraw may be serviced immediatley. | |||||
* | Don't include '\0' in single-line nsfont_width call. | Michael Drake | 2013-02-11 | 1 | -1/+1 | |
| | ||||||
* | Selection autoscroll of scrollbarless textareas (single line). | Michael Drake | 2013-02-11 | 1 | -13/+38 | |
| | ||||||
* | Early detection of regions outside the visible. | Michael Drake | 2013-02-11 | 1 | -0/+9 | |
| | ||||||
* | Clip native caret render so it can't overwrite border. Slight simplification. | Michael Drake | 2013-02-11 | 1 | -11/+12 | |
| | ||||||
* | Single line textareas don't have scrollbars, so they don't get the scroll ↵ | Michael Drake | 2013-02-11 | 1 | -3/+16 | |
| | | | | redraw request from the scrollbar callback. | |||||
* | Don't need to redraw for caret removal if using a native caret. | Michael Drake | 2013-02-11 | 1 | -1/+2 | |
| | ||||||
* | Fix internal caret redraw bounds. | Michael Drake | 2013-02-11 | 1 | -1/+1 | |
| | ||||||
* | Fix delete-to-line-end. | Michael Drake | 2013-02-11 | 1 | -1/+1 | |
| | ||||||
* | Make delete line key enum value name less missleading. (Doesn't cut to ↵ | Michael Drake | 2013-02-11 | 1 | -2/+1 | |
| | | | | clipboard.) | |||||
* | Implement delete line. (Ctrl+U on RISC OS.) | Michael Drake | 2013-02-10 | 1 | -8/+36 | |
| | ||||||
* | If a character is replaced by a character of different width, the caret ↵ | Michael Drake | 2013-02-09 | 1 | -1/+2 | |
| | | | | needs to move. Checking change in character index isn't enough, so move caret if redraw was required too. | |||||
* | When updating textarea layout settings, remember scrollbar status. | Michael Drake | 2013-02-09 | 1 | -2/+2 | |
| | ||||||
* | If restarting reflow for scrollbar change, need to start at line 0. | Michael Drake | 2013-02-09 | 1 | -1/+4 | |
| | ||||||
* | Empty textarea has one line. | Michael Drake | 2013-02-09 | 1 | -0/+1 | |
| | ||||||
* | Stop it from using past the end of lines data allocation. (It could add up ↵ | Michael Drake | 2013-02-09 | 1 | -3/+17 | |
| | | | | to 2 lines per pass, but assumed 1 for allocation.) | |||||
* | [Return] will replace selection. | Michael Drake | 2013-02-09 | 1 | -5/+18 | |
| | ||||||
* | Support front ends that pass CR for [return], as well as those that pass NL. | Michael Drake | 2013-02-09 | 1 | -0/+1 | |
| | ||||||
* | Fix handling of empty textarea. | Michael Drake | 2013-02-09 | 1 | -2/+4 | |
| | ||||||
* | Take account of scrollbar-occupied regions. | Michael Drake | 2013-02-09 | 1 | -2/+5 | |
| | ||||||
* | Fix use of x values when y is required. | Michael Drake | 2013-02-09 | 1 | -2/+2 | |
| | ||||||
* | Take account of caret height when scrolling to show caret. | Michael Drake | 2013-02-09 | 1 | -2/+2 | |
| | ||||||
* | Slight selection auto-scroll optimisation. | Michael Drake | 2013-02-09 | 1 | -3/+4 | |
| | ||||||
* | Pedantic wrap. | Michael Drake | 2013-02-08 | 1 | -4/+2 | |
| | ||||||
* | Fix seg fault when moving cursor up onto empty top line. | Michael Drake | 2013-02-08 | 1 | -1/+1 | |
| | ||||||
* | Adjust code to reduce indentation. | Michael Drake | 2013-02-08 | 1 | -48/+48 | |
| | ||||||
* | Scaled textarea rendering support. Ugly. | Michael Drake | 2013-02-08 | 1 | -32/+72 | |
| | ||||||
* | Implement text selection auto-scroll. | Michael Drake | 2013-02-08 | 1 | -0/+16 | |
| | ||||||
* | Improve scroll-to-caret behaviour. | Michael Drake | 2013-02-08 | 1 | -40/+59 | |
| | ||||||
* | Support dropping text file on textarea widget. | Michael Drake | 2013-02-08 | 1 | -0/+46 | |
| | ||||||
* | Add scrollwheel support to textareas. | Michael Drake | 2013-02-08 | 1 | -0/+16 | |
| | ||||||
* | Tweak selection rendering. Adjusting layout doesn't emit redraw request. ↵ | Michael Drake | 2013-02-08 | 1 | -31/+7 | |
| | | | | Client must redraw when it wants it. | |||||
* | Don't lose fractional part of text pt size to rounding. | Michael Drake | 2013-02-07 | 1 | -3/+2 | |
| | ||||||
* | Native caret not now set in redraw. Prevents endless redraw when textarea ↵ | Michael Drake | 2013-02-07 | 1 | -24/+40 | |
| | | | | has caret. | |||||
* | Fix empty textarea reflow. Fix empty line (just \n) redraw. Add set layout ↵ | Michael Drake | 2013-02-06 | 1 | -3/+36 | |
| | | | | function to set size and padding. | |||||
* | Pull flags out of textarea_setup. | Michael Drake | 2013-02-02 | 1 | -5/+6 | |
| | ||||||
* | Add support for password text inputs. | Michael Drake | 2013-02-01 | 1 | -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 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 | |
| |