summaryrefslogtreecommitdiff
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* browser_window_navigate refactorVincent Sanders2013-02-184-228/+249
|
* Move selection clearing into a function, and expose it in the header file.Michael Drake2013-02-132-14/+34
|
* Calculate and store text offsets only when they change, rather than ↵Michael Drake2013-02-131-23/+37
| | | | recalculating on every redraw and caret placement. Also ensures that caret placement and redraw get the same text offset values.
* Fun micro-optimisations.Michael Drake2013-02-121-21/+15
|
* Implement selection modification. Clicks and drags with button 2 alter the ↵Michael Drake2013-02-121-2/+21
| | | | nearest end of the selection. Button 2 when there is no selection selects from caret pos to click pos.
* Triple click selects paragraph in textarea widget.Michael Drake2013-02-122-13/+77
|
* Tidy textarea-handled mouse action.Michael Drake2013-02-121-9/+10
|
* Init clipboard to NULL, just in case front end implementation of ↵Michael Drake2013-02-121-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 Drake2013-02-121-0/+3
| | | | removed as the redraw may be serviced immediatley.
* Don't include '\0' in single-line nsfont_width call.Michael Drake2013-02-111-1/+1
|
* Selection autoscroll of scrollbarless textareas (single line).Michael Drake2013-02-111-13/+38
|
* Early detection of regions outside the visible.Michael Drake2013-02-111-0/+9
|
* Clip native caret render so it can't overwrite border. Slight simplification.Michael Drake2013-02-111-11/+12
|
* Single line textareas don't have scrollbars, so they don't get the scroll ↵Michael Drake2013-02-111-3/+16
| | | | redraw request from the scrollbar callback.
* Don't need to redraw for caret removal if using a native caret.Michael Drake2013-02-111-1/+2
|
* Fix internal caret redraw bounds.Michael Drake2013-02-111-1/+1
|
* Fix delete-to-line-end.Michael Drake2013-02-111-1/+1
|
* Make delete line key enum value name less missleading. (Doesn't cut to ↵Michael Drake2013-02-112-3/+2
| | | | clipboard.)
* Move html textarea's selection colour chooser to plot_style.h, as it could ↵Michael Drake2013-02-111-0/+8
| | | | be used elsewhere.
* Implement delete line. (Ctrl+U on RISC OS.)Michael Drake2013-02-101-8/+36
|
* If a character is replaced by a character of different width, the caret ↵Michael Drake2013-02-091-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 Drake2013-02-091-2/+2
|
* If restarting reflow for scrollbar change, need to start at line 0.Michael Drake2013-02-091-1/+4
|
* Empty textarea has one line.Michael Drake2013-02-091-0/+1
|
* Stop it from using past the end of lines data allocation. (It could add up ↵Michael Drake2013-02-091-3/+17
| | | | to 2 lines per pass, but assumed 1 for allocation.)
* [Return] will replace selection.Michael Drake2013-02-091-5/+18
|
* Support front ends that pass CR for [return], as well as those that pass NL.Michael Drake2013-02-091-0/+1
|
* Fix handling of empty textarea.Michael Drake2013-02-091-2/+4
|
* Take account of scrollbar-occupied regions.Michael Drake2013-02-091-2/+5
|
* Fix use of x values when y is required.Michael Drake2013-02-091-2/+2
|
* Take account of caret height when scrolling to show caret.Michael Drake2013-02-091-2/+2
|
* Slight selection auto-scroll optimisation.Michael Drake2013-02-091-3/+4
|
* Pedantic wrap.Michael Drake2013-02-081-4/+2
|
* Fix seg fault when moving cursor up onto empty top line.Michael Drake2013-02-081-1/+1
|
* Adjust code to reduce indentation.Michael Drake2013-02-081-48/+48
|
* Scaled textarea rendering support. Ugly.Michael Drake2013-02-083-34/+75
|
* Implement text selection auto-scroll.Michael Drake2013-02-081-0/+16
|
* Improve scroll-to-caret behaviour.Michael Drake2013-02-081-40/+59
|
* Support dropping text file on textarea widget.Michael Drake2013-02-082-0/+56
|
* Add scrollwheel support to textareas.Michael Drake2013-02-082-0/+27
|
* Add ta to documentation.Michael Drake2013-02-081-0/+3
|
* Drag fixup. Add some documentation.Michael Drake2013-02-081-2/+4
|
* HTML drags now go via content msg.Michael Drake2013-02-082-2/+19
|
* Tweak selection rendering. Adjusting layout doesn't emit redraw request. ↵Michael Drake2013-02-082-34/+10
| | | | Client must redraw when it wants it.
* Don't lose fractional part of text pt size to rounding.Michael Drake2013-02-071-3/+2
|
* Remove input subtree special numberspacing.Michael Drake2013-02-071-51/+13
|
* Native caret not now set in redraw. Prevents endless redraw when textarea ↵Michael Drake2013-02-071-24/+40
| | | | has caret.
* First pass at getting html forms to use textarea widget.Michael Drake2013-02-062-14/+13
| | | | | (Input element types text & password, and textarea element.) Can edit and submit forms, but there are loads of issues.
* Fix empty textarea reflow. Fix empty line (just \n) redraw. Add set layout ↵Michael Drake2013-02-062-4/+51
| | | | function to set size and padding.
* Pull flags out of textarea_setup.Michael Drake2013-02-023-10/+12
|