aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-03-26Add option to hide pointer (or not)Thomas White
2018-03-26Ensure no empty paragraphs before deletingThomas White
2018-03-25Add \lalign and \center (and show them off)Thomas White
2018-03-25Remove merge_paragraphThomas White
Not needed any more
2018-03-25Shift+F7 show ONLY blocks in frameThomas White
Not the ones after it.
2018-03-23Add \ralignThomas White
2018-03-22Shift+F7 show blocks in frame (not top of editor)Thomas White
2018-03-22Fix newpara logicThomas White
2018-03-19Add missing prototypeThomas White
2018-03-19Fix #includesThomas White
2018-03-19Remove remnants of ancient structuresThomas White
2018-03-19Move load_everything() to utilsThomas White
2018-03-19Revert "Increase line spacing"Thomas White
This reverts commit 24fed6a8e3725da78580b3ede64a84d286bc10fb.
2018-03-19Set paragraph scblock/rscblock when splittingThomas White
2018-03-18Create a run when placing cursor in an empty paragraphThomas White
2018-03-18debugger: Tidy up and simplifyThomas White
2018-03-18Disallow insertion and deletion unless scblock==rscblockThomas White
2018-03-18Remove \callbackThomas White
Make the callback mechanism into one of general interception of any Storycode command. This way, the narrative rendering (the only thing using this functionality) doesn't have to do its horrible stylesheet thing. That's necessary so that the rendering function gets the actual SCBlock, not the definition of the macro.
2018-03-18Set scblock/rscblock even for text paragraphsThomas White
It's needed as a hook if there are no runs
2018-03-12Use edit_pos instead of cursor_{para,pos,trail}Thomas White
2018-03-12Get rid of Paragraph->openThomas White
2018-03-12Remove dummy runsThomas White
This is a really horrible way of dealing with things
2018-03-12Delete whole paragraphs if they are non-textThomas White
2018-03-12Show SCBlocks for image/callback paragraphs in debuggerThomas White
2018-03-12Add rscblocks for image and callback paragraphsThomas White
2018-03-11Rename some functions to make them uniqueThomas White
Makes things less confusing. Ulterior motive: makes Meson unity builds work.
2018-03-11Avoid crash when deleting in a non-text paragraphThomas White
Still need to implement it, though
2018-03-11Avoid creating extra ImageStoresThomas White
2018-03-11Fail cleanly if background pixbuf can't be loadedThomas White
2018-03-10Show rscblocks in debuggerThomas White
2018-03-10Fixes for paragraph splittingThomas White
2018-03-10show_para(): Show rscblocks as wellThomas White
2018-03-10Add Meson build systemThomas White
2018-03-08Don't open debugger if no frame is selectedThomas White
2018-03-07Remove len_bytes from add_runThomas White
2018-03-07Don't create runs for \newparaThomas White
Removes a load more special cases
2018-03-07FormattingThomas White
2018-03-07Add a warningThomas White
2018-03-04Add a warningThomas White
2018-03-04Paragraph splitting fixesThomas White
2018-03-04Text insertion fixThomas White
2018-03-03Better handling of paragraph ends in which_runThomas White
Here is the better solution.
2018-03-03Make which_run strictly exclusive when deciding which runThomas White
I have a feeling there's a better way to do this, though.
2018-03-03Fix a memory bug in exec_macroThomas White
2018-03-03scan_runs_for_scblock: Check scblock as well as rscblockThomas White
Allows macros to be found and deleted properly
2018-03-03delete_run: Stop moving too many runsThomas White
2018-03-03Remove text_run offsets and lengthsThomas 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-03Remove 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-03-03Add some warningsThomas White
2018-03-03Disable blank cursorThomas White