summaryrefslogtreecommitdiff
path: root/src/gui/fpg_memo.pas
AgeCommit message (Collapse)Author
2013-06-07Surfaced more of the commonly used events for TfpgMemoGraeme Geldenhuys
2013-06-07Adds support for OnKeyChar event to TfpgMemoGraeme Geldenhuys
2013-05-20Removed Canvas.DrawControlFrame() - fpgStyle has tha functionality nowGraeme Geldenhuys
Canvas.DrawControlFrame() simply passed it along to fpgStyle for a long time already. Now we finally separate the two, so the Styling code can be separated from the corelib code.
2013-05-04bug: fixes memo that didn't always display horizontal scrollbarGraeme Geldenhuys
2013-04-17Revert "Make special characters known by memo component"Graeme Geldenhuys
This reverts commit d71020bc89474bb98aa49b62b769de2d6b20ca8d.
2013-04-17Revert "Use dead key codes for special accentuated characters"Graeme Geldenhuys
This reverts commit 5ee5b79db4825a3b2afa03dde72ddbe7e46b3c47.
2013-04-17Revert "Add common procedures in fpg_base for deadkeys"Graeme Geldenhuys
This reverts commit ccfd4b2ae0a9dfae0d19ae7ba673118af70c75da.
2013-03-22Add common procedures in fpg_base for deadkeysJean-Marc Levecque
2013-03-22Use dead key codes for special accentuated charactersJean-Marc Levecque
2013-03-22Make special characters known by memo componentJean-Marc Levecque
2012-11-22Fixes bug #163 - SelectionText returns all text if there was no selection.Graeme Geldenhuys
2012-11-22Memo.SelectionText is now a read/write propertyMichael van Canneyt
Selected text can now be replaced with new text, or text could be inserted at the current cursor position by setting SelectionText.
2012-11-09Moved Menu-key press handling up the class hierarchy to TfpgWidget.Graeme Geldenhuys
No need for so much code duplication. This also means that widgets like TfpgStringGrid now have keyMenu keypress behaviour. Basically any widget that supports a PopupMenu.
2012-08-21memo: removes unnecessary code. The Memo field was just a reference.Graeme Geldenhuys
This also fixes a strange "lost pointer reference" issue under Windows. Not sure what FPC is doing there.
2012-08-02Prevents a possible AV when the Memo reference might already have been set ↵Graeme Geldenhuys
to nil. This could happen in some cases when the TfpgMemo is destroyed while contain text.
2011-11-29Implements BorderStyle for TfpgMemo.Graeme Geldenhuys
2011-05-19Changed hard-coded line endings to LineEnding variable.Graeme Geldenhuys
Not sure if this will break anything. I can't really see why it should.
2011-02-07Memo: SetText now assigns incoming text as is to the internal stringlist.Graeme Geldenhuys
No more manual handling of LineEnding characters etc, because StringList does that already, and our custom handling causes blank lines to disappear in the memo. Not what we want.
2010-12-22Fixes a Index out of bounds error in Memo. Thanks Michael van CanneytGraeme Geldenhuys
2010-10-15memo CursorLine property improvements and sanity checksGraeme Geldenhuys
* The selection variables were not updated before * Little error checking was done, so you could get index out of bounds errors.
2010-10-15Memo: introduced a new CursorPos propertyGraeme Geldenhuys
You can now set the Cursor X position via code.
2010-10-15TfpgMemo now has BeginUpdate and EndUpdate methodsGraeme Geldenhuys
This allows you to add/delete many lines and the memo only repaints once.
2010-10-04Published Align property for all widgets.Graeme Geldenhuys
2010-10-01published Enabled property on all (most) componentsGraeme Geldenhuys
* Now the UI Designer can work with that property too * A few other components got one or two other properties published too.
2010-09-28memo bugfix: The 'delete' key did not work. Now it does.Graeme Geldenhuys
2010-09-23memo: forgot to reset selection variables after a clipboard Cut action.Graeme Geldenhuys
2010-09-23memo: reduced code by simply using ResetSelectionVariables() instead.Graeme Geldenhuys
2010-09-23memo: Paste bugfix.Graeme Geldenhuys
Pasting text that consisted of multiple lines wasn't inserted on the correct lines. Resulting in pasted lines being in reverse order.
2010-09-23memo: ResetSelectionVariables was incomplete.Graeme Geldenhuys
2010-09-23memo: minor optimization - SomethingSelected is only called once now.Graeme Geldenhuys
2010-09-23memo: Implemented SelectionText() function.Graeme Geldenhuys
Also improved DoCopy to rather use SelectionText instead of duplicating code.
2010-09-22memo: implemented clipboard support with default popup menu support.Graeme Geldenhuys
2010-04-25Publish the new OnShowHint for all other widgets in fpGUI.Graeme Geldenhuys
2010-04-06memo: Fixed deletion of selected lines.Graeme Geldenhuys
Thanks to JoshyFun <joshyfun@gmail.com> for suggestions.
2010-02-26Update copyright notice in all units.Graeme Geldenhuys
2010-02-25Published Hint and ShowHint on all widgets.Graeme Geldenhuys
2009-11-03Fix bug where if Memo linecount = 0 the cursor was not drawn.Graeme Geldenhuys
2009-06-23Copyright and code formatting fix.Graeme Geldenhuys
2009-06-23Unset cursor/caret fix in TfpgMemo.David Emerson
2008-09-27* Phase 2 of the unit rename is complete. The gui units have now been renamed.graemeg
* UI Designer has been updated to reflect the new gui unit names.