Commit Graph

2285 Commits

Author SHA1 Message Date
Allen Webster c86d2dc9c6 added rule for continued statements 2016-10-10 18:09:46 -04:00
Allen Webster 94c624a505 tweaks to the existing wrap rules 2016-10-10 16:47:09 -04:00
Allen Webster 7ac01f5918 loosened up the buffer creation API 2016-10-08 16:20:49 -04:00
Allen Webster a9ee84547c code wrapping appears to work entirely 2016-10-06 21:55:44 -04:00
Allen Webster 2e341edd41 fixed a lot of bugs in the token smart wrapping system, still more to fix 2016-10-06 19:27:23 -04:00
Allen Webster 9a4609c8d5 setup the basis for the token smart wrap rule 2016-10-06 17:29:04 -04:00
Allen Webster 2053d0df47 minor cleanup of the code presentation stuff 2016-10-05 21:38:08 -04:00
Allen Webster 39699b2d9f wrapped up the unification of the virtual whitespace parsing system, switched to allowing the virtual whitespace to be toggled 2016-10-05 02:08:23 -04:00
Allen Webster ce1a53d67f first setup of code formatting 2016-09-30 20:33:13 -04:00
Allen Webster 5dee37296c example of basic word level wrapping 2016-09-29 15:39:47 -04:00
Allen Webster 40d9aebd64 driving wrap positions through a metadata system 2016-09-29 14:29:00 -04:00
Allen Webster 7d31bb986d arbitrary line wrapping working 2016-09-28 21:07:14 -04:00
Allen Webster 0b2d781ce1 clean up the memory for all the new metadata systems 2016-09-27 23:32:35 -04:00
Allen Webster 0d587c8fe2 switched indent array to using wrap_line, driving all systems through the wrapped indents array 2016-09-27 16:28:59 -04:00
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