544 Commits

Author SHA1 Message Date
Christopher Jeffrey
f37a619cc6 allow 0-width 0-height elements. see slap-editor/slap#153. 2015-04-27 00:14:02 -07:00
Christopher Jeffrey
56421ccc7b fix VTE again - two chars for surrogate wide replacement. 2015-04-26 07:17:39 -07:00
Christopher Jeffrey
0ea8c77dd8 fix VTE. only remove surrogate double chars. 2015-04-26 07:16:50 -07:00
Christopher Jeffrey
051e90070c workaround VTEs wide surrogate pair display bug. 2015-04-26 07:03:52 -07:00
Christopher Jeffrey
34fd68b620 Revert "isSurrogateLast"
This reverts commit e19730578c3dc209a6c7f3b8d8c99dff32eeb0bb.
2015-04-26 06:38:06 -07:00
Christopher Jeffrey
e19730578c isSurrogateLast 2015-04-26 06:37:45 -07:00
Christopher Jeffrey
2eb57cc725 do not break on spaces, double-widths, surrogates, or combinings for text wrapping. 2015-04-26 06:32:41 -07:00
Christopher Jeffrey
94ba30cbfd fix: break on extra space for double-width again. 2015-04-26 05:55:20 -07:00
Christopher Jeffrey
620c17c7dc fix eaw test. comment. 2015-04-26 04:41:31 -07:00
Christopher Jeffrey
c73fee2f7d rename unicode regexes again. 2015-04-26 04:34:32 -07:00
Christopher Jeffrey
dafe95d900 rename unicode regexes. 2015-04-26 04:29:52 -07:00
Christopher Jeffrey
ccca1092e7 add regex for all wide chars. 2015-04-26 04:23:32 -07:00
Christopher Jeffrey
758eef133c stop double-width chars from breaking words when wrapped. 2015-04-26 04:16:47 -07:00
Christopher Jeffrey
3d8dfd0db4 screen.screenshot 2015-04-26 02:34:17 -07:00
Christopher Jeffrey
963cfbb9f8 fix labels for non-scrollable elements. 2015-04-25 19:12:47 -07:00
Christopher Jeffrey
38cc1a3ea3 more ritems fixes. 2015-04-24 11:39:40 -07:00
Christopher Jeffrey
096869d82e fix ritems handling. debug. 2015-04-24 01:40:18 -07:00
Christopher Jeffrey
bcb248b768 minor. 2015-04-23 22:25:09 -07:00
Christopher Jeffrey
fdf181b8e0 return tagless values for list items. 2015-04-22 16:58:33 -07:00
Christopher Jeffrey
2e5da439b0 Revert "ritems with no tags."
This reverts commit 3ba251cc2f0e429a0760e63cb6bfd44614657ec0.
2015-04-22 16:54:15 -07:00
Christopher Jeffrey
3ba251cc2f ritems with no tags. 2015-04-22 16:53:46 -07:00
Christopher Jeffrey
01b2d0b265 fuzzyFind. 2015-04-22 13:32:23 -07:00
Christopher Jeffrey
861b5ef431 screenshot method cleanup. 2015-04-21 13:29:02 -07:00
Christopher Jeffrey
5f1d320112 add screenshot method to widget.js. 2015-04-21 05:46:21 -07:00
Christopher Jeffrey
a0daecc8bb fuzzyFind improvement. 2015-04-19 19:50:53 -07:00
Christopher Jeffrey
564592891c fuzzyFind callback convention. 2015-04-18 22:25:13 -07:00
Christopher Jeffrey
2c00450029 allow regexes for fuzzyfind. 2015-04-18 22:22:32 -07:00
Christopher Jeffrey
2666a008bf fix fuzzyFind. 2015-04-18 22:18:42 -07:00
Christopher Jeffrey
6c195dd8a0 fix label scroll. improve search. add features to ansi-viewer. 2015-04-18 22:15:11 -07:00
Christopher Jeffrey
3ff31cf0c1 minor fixes. 2015-04-18 20:20:25 -07:00
Christopher Jeffrey
82928702d3 surrogate. one flew over the 杜鹃's nest. 2015-04-17 21:17:11 -07:00
Christopher Jeffrey
7b31f45468 fix textarea for full unicode. 2015-04-16 16:16:55 -07:00
Christopher Jeffrey
5dacfbad97 stop using screen.cols. 2015-04-16 14:38:36 -07:00
Christopher Jeffrey
46a76abbdd add invertSelected option to List. fixes #124. 2015-04-16 13:20:49 -07:00
Christopher Jeffrey
489aa2dbe3 clean up Element.render surrogate handling. 2015-04-16 13:11:56 -07:00
Christopher Jeffrey
0acae98979 fix disappearing double-width chars on scroll up. 2015-04-16 12:31:07 -07:00
Christopher Jeffrey
d520c94c3b handle unicode combining characters properly. 2015-04-16 11:33:08 -07:00
Christopher Jeffrey
e714c4f930 cleanup unicode. 2015-04-15 22:44:47 -07:00
Christopher Jeffrey
73d158cf02 refactoring unicode. 2015-04-15 22:36:48 -07:00
Christopher Jeffrey
70c03a7f0b minor. 2015-04-15 21:49:28 -07:00
Christopher Jeffrey
62b1003a05 handle 0-width surrogates. 2015-04-15 10:49:43 -07:00
Christopher Jeffrey
c5e5ed86f6 fix surrogate crash. 2015-04-15 10:38:26 -07:00
Christopher Jeffrey
85be64273f clean up old surrogates code. 2015-04-15 10:10:19 -07:00
Christopher Jeffrey
ea4e142757 add support for surrogate pairs. fixes #123. see #4 and slap-editor/slap#107. 2015-04-15 10:05:34 -07:00
Christopher Jeffrey
1b1775a4c2 add doubleWidthPerfect option. 2015-04-15 00:38:18 -07:00
Christopher Jeffrey
3f73e08dd7 Revert "move wideChar handling to _wrapContent."
This reverts commit 307b757e1f2126a5793e4024645872bb7cbc62f1.
2015-04-14 15:44:26 -07:00
Christopher Jeffrey
307b757e1f move wideChar handling to _wrapContent. 2015-04-14 15:43:37 -07:00
Christopher Jeffrey
ecf9e38f55 double width character handling. see slap-editor/slap#107. 2015-04-14 15:35:16 -07:00
Christopher Jeffrey
46b493d02e minor blend changes. 2015-04-10 13:01:00 -07:00
Christopher Jeffrey
95364dd229 better dragging. 2015-04-08 01:24:45 -07:00