summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-29renamed the IDE project to Maximus IDE.Graeme Geldenhuys
2011-08-29richview: fixed another memory leak.Graeme Geldenhuys
2011-08-29richview: removed DoAllocateWindowHandle() which caused a memory leak.Graeme Geldenhuys
The above mentioned method called CreateWnd() twice, thus causing a memory leak. Now CreateWnd() is simply called once in the constructor.
2011-08-29richview: neatened up the CreateDefaultMenu() method.Graeme Geldenhuys
The code is more human readable now.
2011-08-29richview: making sure we tidy up everything.Graeme Geldenhuys
2011-08-29richview: fixed memory leak with font resources.Graeme Geldenhuys
2011-08-26uidesigner: enabled keyboard shortcuts in main menu of main form.Graeme Geldenhuys
2011-08-26ide: minor project file updates.Graeme Geldenhuys
2011-08-26ide: lazarus project file settings update.Graeme Geldenhuys
Removed the hard-coded 32-bit file extension.
2011-08-26x11: removed trailing whitespaceGraeme Geldenhuys
2011-08-26x11: fixed a compiler hint about an invalid/unsafe typecast.Graeme Geldenhuys
2011-08-26ide: added user feedback when a unit is saved.Graeme Geldenhuys
2011-08-26ide: new pascal keywords added for syntax highlightingGraeme Geldenhuys
2011-08-26textedit: trailing whitespace removed.Graeme Geldenhuys
2011-08-26textedit: scrollbar position wasn't updated when GotoLine() was used.Graeme Geldenhuys
2011-08-24richview: stop a possible index out of bounds error when there is no text.Graeme Geldenhuys
2011-08-24ide: include more file extensions to enable the syntax highlighting code.Graeme Geldenhuys
2011-08-24ide: fix a conflicting hotkey sequence in the main menu.Graeme Geldenhuys
2011-08-24ide: add new placeholder menu items in the main menu.Graeme Geldenhuys
This will systematically be implemented.
2011-08-24ide: enabled keyboard shortcuts in the main menu.Graeme Geldenhuys
2011-08-24docview: enabled keyboard shortcuts in the File menu.Graeme Geldenhuys
2011-08-24ide: Configure IDE dialog now closes when the Esc key is pressed.Graeme Geldenhuys
2011-08-24bugfix in PageControl keypress handling. Consume incorrectly set.Graeme Geldenhuys
We incorrectly set the consumed variable, and called inherited unnecessarily. This is now improved.
2011-08-24menu: correctly handle keyboard shortcut events nowGraeme Geldenhuys
Before the menu only used to process the Alt+<key> events for the mainmenu bar (top level menus). Now we recursively run through all menu items looking for a hotkey match.
2011-08-24forms: HandleKeyPress() is replaced my DoKeyShortcut()Graeme Geldenhuys
This is done because DoKeyShortcut() clearly says what it does. It only processes keyboard shortcut events.
2011-08-24added begin..end block to make code more readable.Graeme Geldenhuys
2011-08-24bugfix: Menu key never set consumed = True in key press processingGraeme Geldenhuys
2011-08-24reworked TfpgWidget.MsgKeyPress() to correctly handle keyboard shortcuts.Graeme Geldenhuys
processing order is now as follows; - widget that keypress occured it trys to handle the event. - then to keyboard shortcut processing for the widget's children - then work back towards the top-level form giving chance for keyboard navigation (tabstop) processing. eg: pressing Tab key - then let the top level form to keyboard shortcut processing eg: allowing MainMenu to process the event. - then allow the top level for to process OnKeyPress if such an event handler is implemented. - then if the top level form is not the MainForm, and the current top level form is not shown model, allow the application.mainform to process the keyshortcut in it's main menu.
2011-08-24Introduced DoKeyShortcut() into TfpgWidgetGraeme Geldenhuys
This is similar to HandleKeyPress() but takes into account the original widget that started the process, so it doesn't process that widget or its children twice.
2011-08-24Shift comes after Ctrl or AltGraeme Geldenhuys
In KeycodeToText(), 'Shift+' came before Ctrl or Alt. This is not normal practice, so I moved it.
2011-08-18Added TfpgFrame to fpGUI.Graeme Geldenhuys
This is a UI Designer friendly component that allows you to embed frames "Windows" inside other windows.
2011-08-18Deleted old prototype mock-up imagesGraeme Geldenhuys
2011-08-17richview syntax and information file renamed so it is easier to spotGraeme Geldenhuys
2011-08-17hint window timer field variable renamed.Graeme Geldenhuys
- Renamed the timer field variable from T_Chrono to FTimer. - Renamed the OnTimer event handler from T_ChronoFini to HintTimerFired - Disabled the timer *before* hinding the hint window. This prevents those add AV's that occur when you close an application. - No need to explicityl disable the timer in HintWindow destructor. When you free a timer, it automatically gets disabled.
2011-08-17TfpgCaret doesn't need it's timer enabled at creation.Graeme Geldenhuys
Now the internal blink timer only gets activating when a Canvas is assigned.
2011-08-17Fixed KeycodeToText that overwrote the ShiftState of previous values.Graeme Geldenhuys
2011-08-17GDI: Fixed the rubbish timer implementation.Graeme Geldenhuys
I was clearly smoking something that day! Anyway, the GDI timer is now correctly implemented, and doesn't push up the CPU load any more. No matter how long the timer runs for. The timer is much more accurate/consistent in firing as well. :-)
2011-08-17TfpgTimer refactoring.Graeme Geldenhuys
Refactored the TfpgTimer by introducing a TfpgBaseTimer and X11 & GDI Timer descendants. This now allows use to add platform specific extensions to the timer implementation.
2011-08-17richview: to prevent "index out of bounds" errors while RV is empty.Graeme Geldenhuys
2011-08-16richview: extra check to make sure LineIndex is in range.Graeme Geldenhuys
This shoud prevent the 'Index out of bounds' errors.
2011-08-12Removed hard-coded Code Generation option in lazarus package.Graeme Geldenhuys