summaryrefslogtreecommitdiff
path: root/desktop/textarea.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Pass clip rect to textarea redraw as struct rect.Michael Drake2011-02-141-39/+36
| | | | svn path=/trunk/netsurf/; revision=11681
* Take some calculations out of line redraw loop and fix rounding error.Michael Drake2010-12-171-15/+17
| | | | svn path=/trunk/netsurf/; revision=11089
* Only draw caret if there is no selection.Michael Drake2010-12-151-1/+7
| | | | svn path=/trunk/netsurf/; revision=11060
* Position text and caret correctly in single line text area. Make caret red ↵Michael Drake2010-12-151-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 contentMichael Drake2010-06-041-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 pointersJohn Mark Bell2009-11-221-0/+3
| | | | svn path=/trunk/netsurf/; revision=9681
* Make textarea widget unaware of its global position. Credit: paulblokus.Michael Drake2009-08-131-87/+61
| | | | svn path=/trunk/netsurf/; revision=9274
* Remove line that was removed in the other branch.Michael Drake2009-07-291-2/+0
| | | | svn path=/trunk/netsurf/; revision=8887
* Merged revisions 8808,8862-8863 via svnmerge from Michael Drake2009-07-291-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
* Port r8808 to trunk.John Mark Bell2009-07-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=8825
* Fix textarea line height.John Mark Bell2009-07-241-2/+3
| | | | svn path=/trunk/netsurf/; revision=8766
* Merge LibCSS port to trunk.John Mark Bell2009-07-231-7/+9
| | | | svn path=/trunk/netsurf/; revision=8752
* Merged revisions 8663 via svnmerge from Michael Drake2009-07-221-0/+15
| | | | | | | | | | | | svn://svn.netsurf-browser.org/branches/paulblokus/textinput ........ r8663 | paulblokus | 2009-07-22 00:46:29 +0100 (Wed, 22 Jul 2009) | 2 lines added getter for textarea dimensions ........ svn path=/trunk/netsurf/; revision=8695
* Refactor text plotter and other font functions to remove dependency on CSS.John Mark Bell2009-07-211-26/+18
| | | | svn path=/trunk/netsurf/; revision=8641
* plotters line refactorVincent Sanders2009-07-101-1/+7
| | | | svn path=/trunk/netsurf/; revision=8446
* ploter refactor of rectangle handling Vincent Sanders2009-07-081-11/+18
| | | | svn path=/trunk/netsurf/; revision=8399
* Merged revisions 8059-8359 via svnmerge from John Mark Bell2009-07-061-0/+23
| | | | | | | | | | | | svn://svn.netsurf-browser.org/branches/paulblokus/textinput ........ r8337 | paulblokus | 2009-07-06 00:38:21 +0100 (Mon, 06 Jul 2009) | 2 lines added textarea_set_position ........ svn path=/trunk/netsurf/; revision=8360
* Refactor fill plotter to take a styleVincent Sanders2009-07-051-3/+13
| | | | svn path=/trunk/netsurf/; revision=8332
* Merged revisions 7764-7977,7979-8058 via svnmerge from John Mark Bell2009-06-271-0/+1379
svn://svn.netsurf-browser.org/branches/paulblokus/textinput ........ r7769 | paulblokus | 2009-06-11 22:26:16 +0100 (Thu, 11 Jun 2009) | 4 lines replace global history window with an empty window for future tests add the necessary files first lines ported ........ r7771 | paulblokus | 2009-06-11 23:51:46 +0100 (Thu, 11 Jun 2009) | 1 line more functions ........ r7772 | paulblokus | 2009-06-12 02:07:36 +0100 (Fri, 12 Jun 2009) | 1 line redraw working ........ r7777 | paulblokus | 2009-06-12 11:35:45 +0100 (Fri, 12 Jun 2009) | 3 lines plotter fix make use of the provided clipping rectangle ........ r7781 | paulblokus | 2009-06-12 16:26:51 +0100 (Fri, 12 Jun 2009) | 3 lines callbacks for taxtarea to request a [caret]redraw basic caret handling drawing ........ r7782 | paulblokus | 2009-06-12 22:36:50 +0100 (Fri, 12 Jun 2009) | 1 line single character insertion ........ r7783 | paulblokus | 2009-06-12 22:41:37 +0100 (Fri, 12 Jun 2009) | 1 line single character insertion ........ r7784 | paulblokus | 2009-06-12 23:55:40 +0100 (Fri, 12 Jun 2009) | 3 lines fixed caret clipping arrows, delete and backspace ........ r7812 | paulblokus | 2009-06-16 14:55:41 +0100 (Tue, 16 Jun 2009) | 1 line remove bug causing NS hang on \n in textarea ........ r7816 | paulblokus | 2009-06-16 16:29:48 +0100 (Tue, 16 Jun 2009) | 1 line Enter, Home, End keys ........ r7817 | paulblokus | 2009-06-16 16:56:16 +0100 (Tue, 16 Jun 2009) | 1 line Ctrl + Home/End ........ r7818 | paulblokus | 2009-06-16 17:16:51 +0100 (Tue, 16 Jun 2009) | 1 line redraw caret only on caret moves ........ r7821 | paulblokus | 2009-06-16 20:18:30 +0100 (Tue, 16 Jun 2009) | 1 line line end/start delete ........ r7822 | paulblokus | 2009-06-16 23:43:42 +0100 (Tue, 16 Jun 2009) | 1 line selection drawing + select all ........ r7823 | paulblokus | 2009-06-17 02:31:07 +0100 (Wed, 17 Jun 2009) | 3 lines auto scrolling on caret moves clear selection ........ r7845 | paulblokus | 2009-06-18 17:35:03 +0100 (Thu, 18 Jun 2009) | 1 line page up/down ........ r7846 | paulblokus | 2009-06-18 17:38:45 +0100 (Thu, 18 Jun 2009) | 1 line remove unnecessary fix ........ r7847 | paulblokus | 2009-06-18 18:00:16 +0100 (Thu, 18 Jun 2009) | 1 line clipping fixes ........ r7849 | paulblokus | 2009-06-18 18:21:02 +0100 (Thu, 18 Jun 2009) | 1 line scroll fix ........ r7850 | paulblokus | 2009-06-18 18:45:13 +0100 (Thu, 18 Jun 2009) | 1 line simplified redraw request logic ........ r7855 | paulblokus | 2009-06-18 19:56:24 +0100 (Thu, 18 Jun 2009) | 1 line front end passing mouse events ........ r7858 | paulblokus | 2009-06-18 22:18:39 +0100 (Thu, 18 Jun 2009) | 3 lines drag selection bug fixes ........ r7860 | paulblokus | 2009-06-18 23:32:39 +0100 (Thu, 18 Jun 2009) | 3 lines take selection into account on keypress of different types a few bugs fixed ........ r7876 | paulblokus | 2009-06-19 13:43:07 +0100 (Fri, 19 Jun 2009) | 3 lines pango nsfont_split fix a few textarea fixes ........ r7879 | paulblokus | 2009-06-19 17:33:10 +0100 (Fri, 19 Jun 2009) | 4 lines newline handling seems to work this way clear selection on mouse click more bug fixes ........ r7880 | paulblokus | 2009-06-19 18:16:27 +0100 (Fri, 19 Jun 2009) | 3 lines no caret option selection follows drag ........ r7883 | paulblokus | 2009-06-19 19:08:44 +0100 (Fri, 19 Jun 2009) | 3 lines o width selection bug fix caret at correct side of drag selection ........ r7918 | paulblokus | 2009-06-22 21:01:28 +0100 (Mon, 22 Jun 2009) | 3 lines fix caret positioning at line end CR removal in input methods ........ r7919 | paulblokus | 2009-06-22 21:34:39 +0100 (Mon, 22 Jun 2009) | 1 line fix crash on 0 length text ........ r7926 | paulblokus | 2009-06-23 09:53:56 +0100 (Tue, 23 Jun 2009) | 3 lines change LF into spaces for single line widget text normalisation at one place ........ r7931 | paulblokus | 2009-06-23 10:51:25 +0100 (Tue, 23 Jun 2009) | 1 line cleanup ........ r7933 | paulblokus | 2009-06-23 11:17:22 +0100 (Tue, 23 Jun 2009) | 1 line fix selection draw ........ r7935 | paulblokus | 2009-06-23 11:41:30 +0100 (Tue, 23 Jun 2009) | 1 line guard readonly ........ r7942 | paulblokus | 2009-06-24 08:19:39 +0100 (Wed, 24 Jun 2009) | 1 line applied changes suggested by jmb ........ r7943 | paulblokus | 2009-06-24 09:04:49 +0100 (Wed, 24 Jun 2009) | 1 line little fixes ........ r7945 | paulblokus | 2009-06-24 12:50:14 +0100 (Wed, 24 Jun 2009) | 1 line correct line length and wrapping ........ r7947 | paulblokus | 2009-06-24 14:32:36 +0100 (Wed, 24 Jun 2009) | 3 lines fixed page up/down broken in last commit changed logic for caret positioning on soft breaks ........ r7949 | paulblokus | 2009-06-24 16:31:42 +0100 (Wed, 24 Jun 2009) | 1 line remove temporary/test code ........ r7975 | paulblokus | 2009-06-25 16:00:46 +0100 (Thu, 25 Jun 2009) | 1 line changes suggested by jmb ........ r7976 | paulblokus | 2009-06-25 16:33:23 +0100 (Thu, 25 Jun 2009) | 1 line added ro_ prefix to RISC OS textarea code ........ svn path=/trunk/netsurf/; revision=8060