Commit Graph
86814 Commits
Author SHA1 Message Date
Eugene Sandulenko 9e81f4de89 GRAPHICS: MACGUI: Better selection row detection 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 55a241494e GRAPHICS: MACGUI: Improved text selection edge case behaviour 2017-08-04 21:54:20 +02:00
Eugene Sandulenko b284895100 GRAPHICS: MACGUI: Leave text highlight after selection is made 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 532af0bb60 WAGE: Use MacTextWindow for Undo and Paste 2017-08-04 21:54:20 +02:00
Eugene Sandulenko dd2123f8bf GRAPHICS: MACGUI: Added method to append input to MacTextWindow 2017-08-04 21:54:20 +02:00
Eugene Sandulenko a5fa164b8e GRAPHICS: MACGUI: Bugfixes for selection copying in MacText 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 951244ac3f WAGE: Use MacTextWindow code for copying to clipboard 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 23649e8d87 GRAPHICS: MACGUI: Initial code for copying selection to clipboard 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 66f59aa893 GRAPHICS: MACGUI: Correctly display selection during scrolling 2017-08-04 21:54:20 +02:00
Eugene Sandulenko afb664df29 GRAPHICS: MACGUI: Made selection affecting the MacMenu 2017-08-04 21:54:20 +02:00
Eugene Sandulenko aab404864e GRAPHICS: GUI: Fix flicker in selection 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 676b6082ab GRAPHICS: GUI: Mark beginning and end column of selection in MacTextWindow 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 71aadb5645 GRAPHICS: MACGUI: Correctly calculate row in MacText::getRowCol() 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 0be9566a5a GRAPHICS: MACGUI: Simplified selection drawing code 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 49ad5ff0cf GRAPHICS: MACGUI: Do not draw text selection at beginning of selection 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 145b7c9ec9 GRAPHICS: MACGUI: Initial selection drawing code to MacTextWindow 2017-08-04 21:54:20 +02:00
Eugene Sandulenko b3c8a8e129 GRAPHICS: MACGUI: Align and store MacText selection coordinates 2017-08-04 21:54:20 +02:00
Eugene Sandulenko c5da0bece4 GRAPHICS: MACGUI: Remove redundant method from MacTextWindow 2017-08-04 21:54:20 +02:00
Eugene Sandulenko db38a36369 WAGE: Remove redundant call 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 08293015e7 GRAPHICS: MACGUI: Implement MacText::getRowCol() method 2017-08-04 21:54:20 +02:00
Eugene Sandulenko c25a26d11c GRAPHICS: MACGUI: Event processing code for text selection in MacTextWindow 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 20734108e3 GRAPHICS: MACGUI: Incapsulate MacWindow internals 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 04bb7c3e7a GRAPHICS: MACGUI: Reduce constant scope 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 7b7117d5b8 GRAPHICS: MACGUI: Implement scrolling in MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko e316fb4b16 GRAPHICS: MACGUI: Do not pass to the upstream backspace key event in MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko d4207b1e62 GRAPHICS: MACGUI: Implement autoscrolling in MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 085eea68c3 GRAPHICS: MACGUI: Use proper dimensions for maxTextWidth in MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 91615eb940 WAGE: Remove now redundant input processing 2017-08-04 21:54:19 +02:00
Eugene Sandulenko ef1ea04b8c GRAPHICS: MACGUI: Fixed Enter key behavior in MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko df36b2d7e0 GRAPHICS: MACGUI: Clear rendered text when lines are removed in MacText 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 7333a68636 GRAPHICS: MACGUI: Fix bug in MacText with adding newlines 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 4e044d7bd3 GRAPHICS: MACGUI: Do not add input line to the original MacText content
During resize we were replaying all MacText appends, which was including
whole history of the input. Eek.
2017-08-04 21:54:19 +02:00
Eugene Sandulenko 59d6b63b0f GRAPHICS: MACGUI: undraw input text before resizing MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko d9e7cbaf96 GRAPHICS: MACGUI: Implement MacText resize 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 8609572b87 GRAPHICS: MACGUI: Correctly set MacTextWindow internal MacText size 2017-08-04 21:54:19 +02:00
Eugene Sandulenko b6970ade92 GRAPHICS: MACGUI: Remove redundant method from MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 47d87e059d GRAPHICS: MACGUI: Fix input text displaying 2017-08-04 21:54:19 +02:00
Eugene Sandulenko b8f6ce5f00 WAGE: Remove redundant code 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 50078a808c GRAPHICS: MACGUI: Remove unused variable 2017-08-04 21:54:19 +02:00
Eugene Sandulenko f79a7d049b GRAPHICS: MACGUI: Fixed input line replacement in MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 94a57f534f WAGE: Make drawInput() a noop with MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 737c2e4f88 WAGE: Now we need to render newline at the end of each text 2017-08-04 21:54:19 +02:00
Eugene Sandulenko bc8d059f38 GRAPHICS: MACGUI: Draw input on MacTextWindow redraw 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 61eb58186c GRAPHICS: MACGUI: Cleanup 2017-08-04 21:54:19 +02:00
Eugene Sandulenko a95899c1b6 GRAPHICS: MACGUI: Fix formatting of the first added text in MacText 2017-08-04 21:54:19 +02:00
Eugene Sandulenko cb48575c91 WAGE: Switched console rendering to MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko e236db8c3f GRAPHICS: MACGUI: Fixed appendText() in MacGui: formatting was not passed 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 2e458671f6 GRAPHICS: MACGUI: Fix copy/paste bug in MacText 2017-08-04 21:54:19 +02:00
Eugene Sandulenko fe8ef60e08 GRAPHICS: MACGUI: Added more debug output to MacText 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 77932d5838 GRAPHICS: MACGUI: Mark content as dirty when text is changed 2017-08-04 21:54:19 +02:00