summaryrefslogtreecommitdiff
path: root/examples/apps/ide/src/fpg_textedit.pas
AgeCommit message (Collapse)Author
2015-03-01bug: fixes deleting extra character after Cut-To-Clipboard it TextEdit widgetGraeme Geldenhuys
Using the keyboard combination to cut to the clipboard deleted an extra character that was not selected.
2014-06-20textedit: SaveToFile() and LoadFromFile() now does OS Encoding calls.Graeme Geldenhuys
The AFileName parameter is of type TfpgString (thus UTF-8), and we need to ensure that it is the same encoding as the underlying file system before we can save or load files.
2013-03-17textedit: temporary work-around to update scrollbars when setting caret positionGraeme Geldenhuys
2013-03-17textedit: Adds access to the Caret Vertical position.Graeme Geldenhuys
2013-03-17textedit: access to caret pos H.Graeme Geldenhuys
2013-03-15textedit: correctly set caret x position using UTF-8 Length() methodGraeme Geldenhuys
2013-03-15textedit: correctly named an identifier based on its usageGraeme Geldenhuys
2013-03-15textedit: correctly decrement the vertical scrollbar max limit when deleting ↵Graeme Geldenhuys
a line
2013-03-15textedit: Ctrl+Home/End handling is now fixed.Graeme Geldenhuys
Old behaviour took you to the correct location, but the vertical scrollbar position was never updated. So if you then did a PgUp/PgDn or a Mouse Wheel Scroll, you suddenly jumped to a different location in the source code.
2013-03-14textedit: minor optimisation in DEL key handlingGraeme Geldenhuys
If we know the current line is empty, we can simply delete that line, without having to worry about concatenation with the next line.
2013-03-14textedit: fixed bug where deleting a blank line causes a crashGraeme Geldenhuys
We were painting outside the OnPaint event. That is not a good idea, and has undefined behaviour.
2013-03-12textedit: enabled Cut and Paste built-in keyboard shortcuts.Graeme Geldenhuys
Now it makes Maximus IDE and Nanoedit a bit more useful. ;-)
2013-02-22fpg_edittext: Adds cut to clipboard support.Graeme Geldenhuys
2013-02-22fpg_textedit: adds insert text and paste from clipboard support.Graeme Geldenhuys
2012-10-19textedit: Renamed private DoCopy and made it public as CopyToClipboard.Graeme Geldenhuys
Now we can programatically copy selected text to the clipboard.
2012-10-19textedit: Implemented the DoCopy method so now Ctrl+C copies selected text ↵Graeme Geldenhuys
to the clipboard.
2012-10-19textedit: Newly implemented GetSelectedText function.Graeme Geldenhuys
2012-04-20fpg_textedit: new published property RightEdgeGraeme Geldenhuys
2012-04-20Define default value for Backward parameter.Graeme Geldenhuys
2011-10-25minor code syntax fix. Missing semicolon.Graeme Geldenhuys
2011-09-20textedit: implemented support for deleting selected text.Graeme Geldenhuys
2011-09-19textedit: only set Canvas properties when Selected Text is truely required.Graeme Geldenhuys
2011-09-19textedit: bugfix where if we do a selection, lots of text go missing.Graeme Geldenhuys
We simply forgot to set the Canvas.TextColor - reseting previous FSelection code.
2011-09-19textedit: bug fix with the caretpos variable. X / Y typo.Graeme Geldenhuys
2011-09-19textedit: second expression is not needed.Graeme Geldenhuys
Because we already did that a few lines earlier.
2011-08-31textedit: correctly scroll the found text into view.Graeme Geldenhuys
2011-08-31textedit: searched matches are now scrolled more into the center of visible textGraeme Geldenhuys
Before the searched results scrolled into view as the first visible line. This doesn't give the developer much context to work with.
2011-08-30textedit: Implemented FindText() so we can finally do searching.Graeme Geldenhuys
2011-08-30textedit: ScrollTo() never updated the scrollbar positionsGraeme Geldenhuys
2011-08-29textedit: improved text selection via keyboard supportGraeme Geldenhuys
2011-08-29textedit: minor optimization in FormatLine().Graeme Geldenhuys
If there is no text in the line, no need to process it further.
2011-08-29textedit: implemented keyDelete handling.Graeme Geldenhuys
2011-08-29textedit: correctly set consumed variable and only redraw when needed.Graeme Geldenhuys
2011-08-29textedit: moved selection + backspace code into the keyBackspace blockGraeme Geldenhuys
2011-08-29textedit: minor code formatting changesGraeme Geldenhuys
2011-08-29textedit: wrapped caret related code with a if statement.Graeme Geldenhuys
micro optimization.
2011-08-29textedit: simplified a if statementGraeme Geldenhuys
2011-08-29textedit: rudimentary TAB key press implementation.Graeme Geldenhuys
* We don't support the TAB character yet, just the insertion of spaces equal to a set width. * Also included the dbugintf unit so we can use the fpGUI Debug Server to help debug our IDE.
2011-08-26textedit: trailing whitespace removed.Graeme Geldenhuys
2011-08-26textedit: scrollbar position wasn't updated when GotoLine() was used.Graeme Geldenhuys
2011-07-16Merged fpgIDE project as a subdirectory examples/apps/ide/Graeme Geldenhuys