Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-08-29 | richview: 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-29 | richview: neatened up the CreateDefaultMenu() method. | Graeme Geldenhuys | |
The code is more human readable now. | |||
2011-08-29 | richview: making sure we tidy up everything. | Graeme Geldenhuys | |
2011-08-29 | richview: fixed memory leak with font resources. | Graeme Geldenhuys | |
2011-08-26 | uidesigner: enabled keyboard shortcuts in main menu of main form. | Graeme Geldenhuys | |
2011-08-26 | ide: minor project file updates. | Graeme Geldenhuys | |
2011-08-26 | ide: lazarus project file settings update. | Graeme Geldenhuys | |
Removed the hard-coded 32-bit file extension. | |||
2011-08-26 | x11: removed trailing whitespace | Graeme Geldenhuys | |
2011-08-26 | x11: fixed a compiler hint about an invalid/unsafe typecast. | Graeme Geldenhuys | |
2011-08-26 | ide: added user feedback when a unit is saved. | Graeme Geldenhuys | |
2011-08-26 | ide: new pascal keywords added for syntax highlighting | Graeme Geldenhuys | |
2011-08-26 | textedit: trailing whitespace removed. | Graeme Geldenhuys | |
2011-08-26 | textedit: scrollbar position wasn't updated when GotoLine() was used. | Graeme Geldenhuys | |
2011-08-24 | richview: stop a possible index out of bounds error when there is no text. | Graeme Geldenhuys | |
2011-08-24 | ide: include more file extensions to enable the syntax highlighting code. | Graeme Geldenhuys | |
2011-08-24 | ide: fix a conflicting hotkey sequence in the main menu. | Graeme Geldenhuys | |
2011-08-24 | ide: add new placeholder menu items in the main menu. | Graeme Geldenhuys | |
This will systematically be implemented. | |||
2011-08-24 | ide: enabled keyboard shortcuts in the main menu. | Graeme Geldenhuys | |
2011-08-24 | docview: enabled keyboard shortcuts in the File menu. | Graeme Geldenhuys | |
2011-08-24 | ide: Configure IDE dialog now closes when the Esc key is pressed. | Graeme Geldenhuys | |
2011-08-24 | bugfix 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-24 | menu: correctly handle keyboard shortcut events now | Graeme 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-24 | forms: 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-24 | added begin..end block to make code more readable. | Graeme Geldenhuys | |
2011-08-24 | bugfix: Menu key never set consumed = True in key press processing | Graeme Geldenhuys | |
2011-08-24 | reworked 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-24 | Introduced DoKeyShortcut() into TfpgWidget | Graeme 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-24 | Shift comes after Ctrl or Alt | Graeme Geldenhuys | |
In KeycodeToText(), 'Shift+' came before Ctrl or Alt. This is not normal practice, so I moved it. | |||
2011-08-18 | Added TfpgFrame to fpGUI. | Graeme Geldenhuys | |
This is a UI Designer friendly component that allows you to embed frames "Windows" inside other windows. | |||
2011-08-18 | Deleted old prototype mock-up images | Graeme Geldenhuys | |
2011-08-17 | richview syntax and information file renamed so it is easier to spot | Graeme Geldenhuys | |
2011-08-17 | hint 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-17 | TfpgCaret 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-17 | Fixed KeycodeToText that overwrote the ShiftState of previous values. | Graeme Geldenhuys | |
2011-08-17 | GDI: 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-17 | TfpgTimer 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-17 | richview: to prevent "index out of bounds" errors while RV is empty. | Graeme Geldenhuys | |
2011-08-16 | richview: extra check to make sure LineIndex is in range. | Graeme Geldenhuys | |
This shoud prevent the 'Index out of bounds' errors. | |||
2011-08-12 | Removed hard-coded Code Generation option in lazarus package. | Graeme Geldenhuys | |
2011-08-11 | richview: improved the scrollbar textwidth and SB max value calculations. | Graeme Geldenhuys | |
This helps those odd borderline cases, so now the scrollbar always seems appropriate when it is visible. | |||
2011-08-11 | RichView: Correctly calculate the HScrollBar Max value. | Graeme Geldenhuys | |
Now that we correctly the FLayout.Width value this change could now be made. | |||
2011-08-11 | richview: ExtractNextTextElement() changed to support UTF-8 characters | Graeme Geldenhuys | |
- Ultimately this is so we can fix the Layout.Width problem when UTF-8 characters are used in INF documents. eg: the FPC ref.inf file. - UTF-8 characters can be greater than one byte, so we had to make some changes. - Changed some usages of Char to TfpgChar TODO: - CopyPlainTextToBuffer() implementation has been commented, until we can rewrite it for use with fpGUI. This is a big changes, but I tested DocView with numerous INF documents and all seems well. | |||
2011-08-11 | richview: we should be looking at SB Width or Height property | Graeme Geldenhuys | |
instead we should be looking at the overall FScrollBarWidth field value which defines the Width or Height of all Scrollbars in RichView. | |||
2011-08-11 | changed string parameter to TfpgString type | Graeme Geldenhuys | |
2011-08-11 | richview: fixes right alignment of images | Graeme Geldenhuys | |
When we reach the end of a line, we shouldn't always default alignment back to Left - I think. Anyway, this changes makes the output in DocView look the same as IBM's iview program. | |||
2011-08-11 | richview: correct the localion where we call to update scrollbar coords. | Graeme Geldenhuys | |
2011-08-11 | minor code formatting, improved code comments | Graeme Geldenhuys | |
2011-08-11 | richview: fixes the painting bug of bottom/right corner rectangle | Graeme Geldenhuys | |
Refactored the code, so we only use UpdateScrollBarCoords() method. | |||
2011-08-11 | corrected the bottom/right corner color for RichView. | Graeme Geldenhuys | |
It's the rectangle between the two scrollbars. | |||
2011-08-11 | add and remove comments | Graeme Geldenhuys | |
- added a unit header comment - removed old code comments not needed any more - removed old debug lines |