Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-25 | Remove merge_paragraph | Thomas White | |
Not needed any more | |||
2018-03-23 | Add \ralign | Thomas White | |
2018-03-18 | Create a run when placing cursor in an empty paragraph | Thomas White | |
2018-03-18 | Disallow insertion and deletion unless scblock==rscblock | Thomas White | |
2018-03-18 | Set scblock/rscblock even for text paragraphs | Thomas White | |
It's needed as a hook if there are no runs | |||
2018-03-12 | Use edit_pos instead of cursor_{para,pos,trail} | Thomas White | |
2018-03-12 | Get rid of Paragraph->open | Thomas White | |
2018-03-12 | Add rscblocks for image and callback paragraphs | Thomas White | |
2018-03-10 | Show rscblocks in debugger | Thomas White | |
2018-03-07 | Remove len_bytes from add_run | Thomas White | |
2018-03-07 | Don't create runs for \newpara | Thomas White | |
Removes a load more special cases | |||
2018-03-03 | Remove text_run offsets and lengths | Thomas White | |
Keeping these up to date was becoming a gigantic headache. So instead of storing the values, routines which are interested in these lengths and offsets can calculate them themselves. | |||
2018-03-03 | Remove macro_real_block and friends, and delete text based on SCBlocks ↵ | Thomas White | |
instead of runs macro_real_block was a pain because it meant we needed to look somewhere else every time we needed the SCBlock for something. The new way is to have two SCBlocks for each run, one which is the block from the flow of the actual document (i.e. for blocks within macros, this is the macro_real_block, otherwise it's the same as before). The second block ("rscblock") is whichever run actually contains the text for the run. It might be from the document, within the macro definition or within the macro's "\contents". | |||
2018-02-19 | Remove text run SCBlock offset | Thomas White | |
The \newpara change (commit 7f2d0abd) removed the only situation when the start of a run might not coincide with the start of an SCBlock, or vice-versa (although not all SCBlocks correspond to text runs, obviously). Therefore, the offset is always zero and can be removed, simplifying the code. | |||
2018-02-16 | Record whether or not macro is editable | Thomas White | |
2018-01-18 | Mass update of copyright dates | Thomas White | |
2018-01-18 | Store macro contents block in text run | Thomas White | |
We need it in order to find where to delete from, e.g. when paragraphs get united inside a slide title | |||
2017-12-03 | Type "into" slide thumbnail without full rerender | Thomas White | |
2017-11-27 | Use ImageStore to get image size | Thomas White | |
2017-11-23 | Get rid of image size stuff | Thomas White | |
A completely unnecessary mechanism. | |||
2017-10-22 | Add show_edit_pos() | Thomas White | |
2017-10-19 | Track the newlines at ends of paragraphs directly | Thomas White | |
No more messing around searching for \n characters | |||
2017-10-17 | Track newlines at end of paragraphs | Thomas White | |
2017-09-09 | Remove fix_scblock_offsets, fix subsequent paragraphs straight away | Thomas White | |
2017-08-10 | Implement debugger | Thomas White | |
2017-07-07 | WIP | Thomas White | |
2017-05-21 | Fix character offsets | Thomas White | |
2017-03-27 | Delete selected text | Thomas White | |
2017-03-05 | Track whether selection is active or not | Thomas White | |
2017-01-25 | Implement text selection | Thomas White | |
2017-01-13 | Add a load of debug magic keys | Thomas White | |
2016-11-13 | Refuse to edit inside macro blocks | Thomas White | |
2016-09-21 | Fix abuse of cursor_trail | Thomas White | |
cursor_pos is a byte offset, but cursor_trail is a number of characters. Therefore, adding them together is always wrong. This fixes problems when inserting multi-byte characters. | |||
2016-07-07 | Allow typing into non-text paragraphs | Thomas White | |
2016-05-22 | Merge paragraphs (needs fixing) | Thomas White | |
2016-05-17 | Advance slide from narrative window | Thomas White | |
2016-05-02 | Paragraph spacing | Thomas White | |
2016-04-26 | Paste slide | Thomas White | |
2016-04-26 | Copy slide | Thomas White | |
2016-04-22 | Slide adding works | Thomas White | |
2016-04-22 | Add SCBlock to image and callback paragraphs | Thomas White | |
2016-04-21 | More WIP on slide adding | Thomas White | |
2016-04-19 | WIP on slide adding | Thomas White | |
2016-04-19 | Clarify that cursor_pos is BYTE offset (not character) | Thomas White | |
2016-03-31 | Make backspace work (pretty minimally) | Thomas White | |
2016-03-29 | Enable text insertion | Thomas White | |
2016-03-29 | Highlight the current paragraph | Thomas White | |
Has the nice effect of showing which slide is selected. | |||
2016-03-28 | Restore callback clicks | Thomas White | |
2016-03-28 | Cursor stuff | Thomas White | |
2016-03-28 | Restore images | Thomas White | |