Commit Graph

2121 Commits

Author SHA1 Message Date
Allen Webster 8f8806f86d added a wrap_line index to the cursors, switch the dialogical wrap APIs to using wrap_line instead of pos, for identifying wrap positions 2016-09-27 15:33:44 -04:00
Allen Webster ab4bdaf535 switched wrap measurement to indexes instead of y values 2016-09-27 14:51:58 -04:00
Allen Webster b54e11bc97 driving all virtual whitespace through an indents array 2016-09-27 11:16:46 -04:00
Allen Webster 980cb9e477 dialectic API for line wrap measurements 2016-09-27 00:41:59 -04:00
Allen Webster 3cfb743a12 added remeasuring for character starts; fixed issue with inserting characters at the beginning of a line 2016-09-25 15:25:27 -04:00
Allen Webster 0da0013df6 basic apparent character positioning working 2016-09-24 20:13:24 -04:00
Allen Webster 7b66fad3b8 fixed dumb whitespace merge problem 2016-09-24 17:26:37 -04:00
Allen Webster f006fed643 Merge branch '4.0.11-patches' of https://bitbucket.org/4coder/4coder 2016-09-24 17:04:13 -04:00
Allen Webster 45ed69c9f0 Fixed nasty crashing bug in the 4.0.11 branch 2016-09-24 16:58:05 -04:00
Allen Webster 249c6f5e4a introduced first pass version of character start measuring 2016-09-24 13:25:11 -04:00
Allen Webster 79b1590ff0 quick patch for 4.0.11 users with big files 2016-09-24 11:37:49 -04:00
Allen Webster fcd6f703b4 fixed line counting bug 2016-09-24 11:26:36 -04:00
Allen Webster ac2a3ffb6d part of the way towards adding an apparent-character positioning system, need the metadata for it now 2016-09-24 02:17:06 -04:00
Allen Webster df5535cc87 basic navigation kinda works most of the time 2016-09-23 20:18:27 -04:00
Allen Webster da7a09ca0d rendering with virtual whitespace skips whitespace on first line correctly now 2016-09-23 19:36:35 -04:00
Allen Webster a29af32a42 partially added line_shifting to the cursor seeking system 2016-09-23 19:25:06 -04:00
Allen Webster 5be1cd9588 collapsed all view seeks down to one function so the seek struct can be passed straight through. fixed a bug with the seek bounds checking. 2016-09-23 17:24:27 -04:00
Allen Webster ab207cf8f0 fix the fucking stupid merge conflicts that are totally stupid and avoidable 2016-09-23 16:29:43 -04:00
Allen Webster fbbb50b105 merge pre-commit 2016-09-23 16:02:58 -04:00
Allen Webster d714bd5ee4 listing all locations of an identifier; added token start/end range to the get_token_index call for situations that don't need deep token reading 2016-09-23 13:50:55 -04:00
Allen Webster 7dee6e880c more fine tuned control over autocomplete in new 2016-09-23 12:59:04 -04:00
Allen Webster e5d1d71175 cursor seeking types all collapsed down to one function 2016-09-23 00:56:47 -04:00
Allen Webster 6a4e401a56 the cursor seek is pretty cleaned up and ready for an interactive API 2016-09-22 22:50:02 -04:00
Allen Webster e2bb11ad8d fixed cursor seek control flow so that the step is just in one spot again 2016-09-22 22:30:29 -04:00
Allen Webster 28b6132be5 switched to better streaming API 2016-09-22 21:57:28 -04:00
Allen Webster b84dcf03d7 whitespace virtualization started 2016-09-22 20:03:47 -04:00
Allen Webster 93d738240b implemented standard wrap remeasuring rule 2016-09-22 17:25:52 -04:00
Allen Webster 50f719dc4c fix cursor positions when a file's wraps are remeasured. 2016-09-22 15:01:50 -04:00
Allen Webster a5768e457c moved line wrapping rules 100 to buffer datastructures 2016-09-21 20:01:12 -04:00
Allen Webster 69699db27a removed widths from buffers 2016-09-21 18:45:43 -04:00
Allen Webster 582faa4bdf new wrap rule; cleaning up some init stuff 2016-09-21 18:34:19 -04:00
Allen Webster 3947255b00 compiling in windows; building lexer library docs 2016-09-21 09:07:08 -04:00
Allen Webster 33407c2258 now only writing buffer render items if they fall in the clip range of the view. 2016-09-20 16:02:41 -04:00
Allen Webster 1e8bea250e arbitrary wrap positions with commands for adjusting and horizontal navigation 2016-09-20 15:48:02 -04:00
Allen Webster 1b03a6a2be added clparams to app step on linux; got the lexer API working with a fixed with tb 2016-09-20 14:10:05 -04:00
Allen Webster b9536768f7 basics of navigation now work, now need to deal with finding a better line wrapping rule 2016-09-19 22:52:35 -04:00
Allen Webster 9bf48efd83 more buffer rendering cleanup 2016-09-19 21:57:25 -04:00
Allen Webster 7531353153 documentation for relex system, and some cleanup on buffer rendering 2016-09-19 20:51:28 -04:00
Allen Webster 7d081dd7f5 removed the completely unused backify loop system 2016-09-19 15:50:43 -04:00
Allen Webster 1a987c6781 fixed bug with the parallel lexing routine not using the gap buffer 2016-09-19 10:41:11 -04:00
Allen Webster 6d2589d149 rendering all bytes 2016-09-18 23:29:40 -04:00
Allen Webster 803f486973 passing the command line parameters to the application 2016-09-18 22:49:25 -04:00
Allen Webster b4d1a2205d cleared out old buffer code 2016-09-18 11:30:19 -04:00
Allen Webster c551c081a7 now officially running through the gap buffer with 100 of features working!!!! 2016-09-18 11:24:43 -04:00
Allen Webster 3a7f4db69e relex API allows starting from any chunk, fixed null check bug 2016-09-18 10:41:15 -04:00
Allen Webster 6168528c0e cleaned up the relex API, in theory it handles chunks now 2016-09-18 09:09:43 -04:00
Allen Webster 3bd8fd5147 name hiding problem fixed, new version number 2016-09-17 10:04:41 -04:00
Allen Webster 7c8cbc4943 fixing nonsense 2016-09-16 21:56:28 -04:00
Allen Webster 21bbf919cd Merge branch 'master' of https://bitbucket.org/4coder/4coder 2016-09-16 21:54:28 -04:00
Allen Webster 27f6e3a040 nonsense 2016-09-16 21:54:24 -04:00