summaryrefslogtreecommitdiff
path: root/desktop/textarea.c
Commit message (Collapse)AuthorAgeFilesLines
* Desktop doxygen fixesVincent Sanders2014-11-091-1/+1
|
* remove unecessary browser.h include from core headersVincent Sanders2014-10-171-0/+1
|
* Update the core to use the split operations table headersVincent Sanders2014-10-161-3/+6
| | | | Second in the series to decouple the core API usage from the frontends.
* Put the font operations table alongside all the other core APIVincent Sanders2014-10-131-4/+5
| | | | | | | | | | | | The netsurf core is driven from numerous operation tables most of which are now set through a common netsurf_register() interface. The font and plotting interfaces are currently separate and unlike all the other operation tables are modified for differing contexts. This change moves the font operations alongside all the other operations table and remove unnecessary interaction with the renderers font internals. Further this also removes the need for css internals to be visible in frontends.
* Fix textarea wrap bug.Michael Drake2014-09-271-2/+12
| | | | | | Was comparing against the current start line length, to decide if it needed redrawing, without taking into account that old start line might have been longer.
* Fix a couple of comment typos.Michael Drake2014-09-191-2/+2
|
* Improve comments and simplify code.Michael Drake2014-09-181-7/+11
|
* Improve textarea layout comments to explain the non-obvious bits better.Michael Drake2014-09-181-1/+5
|
* Improve comment.Michael Drake2014-09-181-3/+4
|
* Fix missing doxygen parameter comment.Michael Drake2014-09-181-0/+1
|
* Fixes #2101, evaluation of text field and textarea line height.Achal-Aggarwal2014-03-311-3/+3
|
* Fix #0002097, with thanks to Achal-Aggarwal for tracking this down.Michael Drake2014-03-271-3/+4
|
* Fix redraw when selections are deleted.Michael Drake2014-02-171-10/+30
|
* More scaled rendering improvements. Partial redraws of scaled textareas ↵Michael Drake2014-01-211-3/+12
| | | | can't work atm, since neither the textarea nor content is aware of scale.
* Fix scaled rendering clip rect bottom calculation.Michael Drake2014-01-211-1/+1
|
* split browser gui operations upVincent Sanders2014-01-151-2/+2
|
* complete move of remaining core gui functionsVincent Sanders2014-01-151-0/+2
|
* move remaining gui operations to tableVincent Sanders2014-01-141-2/+2
|
* Return message to client when textarea is modified.Michael Drake2014-01-041-0/+9
|
* Dodge Coverity scan issue.Michael Drake2013-10-231-1/+3
|
* Make undo and redo share common implementation.Michael Drake2013-10-011-72/+28
|
* Wipe undo buffer on textarea_set_text.Michael Drake2013-10-011-0/+3
|
* Ensure cut can be undone.Michael Drake2013-10-011-2/+2
|
* Implement textarea undo and redo.Michael Drake2013-10-011-12/+89
|
* Start implementing undo/redo. For now it just records changes, the actual ↵Michael Drake2013-09-301-11/+182
| | | | undo/redo handling is not yet done.
* We return client data, not node.Michael Drake2013-09-141-2/+55
|
* Remove dead assignment.Michael Drake2013-09-051-3/+2
|
* Remove dead assignement.Michael Drake2013-09-051-2/+1
|
* Don't show caret when scrolling a textarea that hasn't been given focus.Michael Drake2013-03-271-1/+2
|
* Tidy up pointer beyond scrollbars.Michael Drake2013-03-271-0/+7
|
* Reduce multi-line textarea a bit more. When redrawing only one line, don't ↵Michael Drake2013-03-261-1/+23
| | | | redraw unchanged text at the start of the line.
* Further reduce redraw region for multi-line textareas when editing.Michael Drake2013-03-261-9/+26
|
* Trivial redraw optimisation for multiline textareas. Only redraw the line ↵Michael Drake2013-03-251-10/+19
| | | | that was changed and below.
* Remove some spaces.Michael Drake2013-03-251-8/+8
|
* Reduce redraw area for selection set/change/clear.Michael Drake2013-03-221-11/+39
|
* Move line start calc into reflow handler.Michael Drake2013-03-221-17/+14
|
* Optimise redraw of single line textarea. When single line textarea is ↵Michael Drake2013-03-211-17/+42
| | | | unscrolled, only the changed area is redrawn after edits.
* Split reflow into two functions for single or multi line textareas.Michael Drake2013-03-211-95/+175
|
* Robust detection of scroll changes.Michael Drake2013-03-201-6/+17
|
* Avoid double redraw when edit causes scroll.Michael Drake2013-03-201-16/+15
|
* Use cached line length to avoid some nsfont_width calls for selection ↵Michael Drake2013-03-201-6/+4
| | | | rendering in redraw.
* Avoid redraw of scrollbars when they've not changed.Michael Drake2013-03-201-16/+22
|
* Cache line widths. Fixes scrollbar issue introduced with partial reflow ↵Michael Drake2013-03-201-4/+18
| | | | enablement. Will also be used for future redraw optimisations.
* Start reflow on line before change in text, rather than always reflowing the ↵Michael Drake2013-03-201-11/+28
| | | | entire textarea.
* Comment fixes.Michael Drake2013-03-191-3/+2
|
* Fix warnings.Michael Drake2013-03-191-3/+3
|
* Start reducing unnecessary redraws: when only start OR end of selection has ↵Michael Drake2013-03-191-7/+54
| | | | changed, only redraw the lines affected. (Reduces redraw of vertical regions only. Still redraw full width for changed lines.)
* Loads of changes including fixes, new functionality, and optimisation.Michael Drake2013-03-171-633/+699
| | | | | | | | | | | | | | | | | | | | | | | + Refactor internals to be byte, rather than character based. + Don't need to hammer utf8_* functions everywhere + Optimises: + Redraw (lots) + Editing (insertion, replacement, removal) + Caret placement + Selection + Early avoid of zero length autoscroll during selection drag. + Optimised redraw to avoid nsfont_width when: + There's no selection at all. + We're on last part of line, and it's unselected. + Implemented WORD_LEFT and WORD_RIGHT keys (shift + cursor left/right) + Fixed UP and DOWN (cursor up/down) keys to handle non-monospace fonts. (Now based on 'x' offset on line, rather than character offset on line.) + Fixed PAGE_UP and PAGE_DOWN to scroll without moving the caret. + Fixed redraw bug in text selection edge case. + Changed textarea_replace_text and textarea_insert_text to return a byte delta for caret position changes. + Coordinate to text offset function handles global and viewport coords. + Many small improvements and tidying.
* Make textarea_get_caret private.Michael Drake2013-03-131-25/+30
|
* Fix pointer shape and status bar messages for textareas and their scrollbars.Michael Drake2013-03-111-22/+39
|