Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-08-09 | richview: earmarked TRichTextView.CopyTextToBuffer() to be removed | Graeme Geldenhuys | |
2013-05-22 | richview: let the fpgStyle object do the drawing for us. | Graeme Geldenhuys | |
2013-05-13 | docview: replace some code with convenience function to make it more readable | Graeme Geldenhuys | |
2013-03-12 | richtext: minor improvement to default used colors | Graeme Geldenhuys | |
2012-12-04 | RichTextView can now have Text set even in the constructor phase of a form. | Graeme Geldenhuys | |
Before we were forced to only set text in the OnShow or later. | |||
2012-10-23 | richview: Removed the extra margin for text at the top and bottom of the ↵ | Graeme Geldenhuys | |
client area There was a hard-coded 2px margin at the top and bottom of the text client area. So when scrolling the text disappeared 2px away from the actual widget border. This was inconsistent with other text widgets in fpGUI, and I simply didn't like it either. So GetTextAreaRect() now returns the same values as GetDrawRect(). | |||
2012-10-23 | richview: Implements a new BorderStyle property | Graeme Geldenhuys | |
* Also took into account theming support, so we get the size of the default borders from the theme class. * Improved the method that sets the coordinates of the scrollbar | |||
2012-08-28 | RichTextView: scrollbar width is now set to the standard size of 16px | Graeme Geldenhuys | |
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-24 | richview: stop a possible index out of bounds error when there is no text. | Graeme Geldenhuys | |
2011-08-17 | richview: to prevent "index out of bounds" errors while RV is empty. | 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 | 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 | |||
2011-07-23 | docview: minor code formatting improvements. | Graeme Geldenhuys | |
2011-07-23 | TRichTextLayout & TLayoutLine code reworked to classes instead of arrays | Graeme Geldenhuys | |
- TLayoutLine changed from a record type to a data class - Implemented TLayoutLineList class instead of using a dynamic array for TLayoutLine storage. - Changed all related code to reference the object list correctly. | |||
2011-07-23 | wip stash | Graeme Geldenhuys | |
2011-07-23 | Major refactoring in the CanvasFontManager unit. Work-in-Progress! | Graeme Geldenhuys | |
The CanvasFontManager unit has totally been reworked to use the native TfpgFont class instead of TLogicalFont, TFontFace etc... The code is a lot more simplified now and DocView can actually display content but there are some width wrapping issues and AV's on changing topics. This will be fixed next. | |||
2011-03-08 | docview: Removed left-over debug code. Sorry! :-( | Graeme Geldenhuys | |
2011-02-03 | temp storage for Encoding implementation in DocView | Graeme Geldenhuys | |
2010-09-30 | richview: track cursor position for DocView Notes support | Graeme Geldenhuys | |
* Now we can click anywhere in the DocView topic to place our notes. There are still some minor positioning bugs, but I'll get to that later. | |||
2010-09-01 | docview: Implemented mouse cursor changes when moved over links. | Graeme Geldenhuys | |
2010-09-01 | docview: introduced user configurable mouse wheel scroll distance. | Graeme Geldenhuys | |
2010-09-01 | docview: Removed unused or commented units | Graeme Geldenhuys | |
2010-09-01 | docview: Replace unicode character in source code with UTF-8 byte sequence. | Graeme Geldenhuys | |
2010-08-26 | richview: disabled clipboard items in popup menu for now. | Graeme Geldenhuys | |
* This causes the app using Richview to freeze. :-/ | |||
2010-08-11 | RichTextView: Minor method parameter refactoring. | Graeme Geldenhuys | |
To reduce in possible confusion - with Images property found in some other classes. | |||
2010-08-06 | docview: Correctly pass in the text area height to DrawText | Graeme Geldenhuys | |
2010-08-05 | RichTextView: Improved the scrollbar PageSize and SliderSize based on ↵ | Graeme Geldenhuys | |
content displayed. | |||
2010-08-05 | RichTextView: fixed the scrolling direction when PgUp or PgDn is pressed. | Graeme Geldenhuys | |
2010-08-05 | DocView: clicking on scrolled pages did not detect hyperlinks. | Graeme Geldenhuys | |
This was a bug, where I didn't apply the scroll offset correctly. for the Y-axis. | |||
2010-02-24 | docview: Give a more accurate draw width to TRichTextLayout. | Graeme Geldenhuys | |
This still contains one issue. We need to ask TRichTextLayout to calculate lines and word wrapping, giving the maximum text width available. Well, if text wrapping occurs and the text is long enough to require scrolling, we suddenly need to take the scrollbar width into account for word wrapping!! A chicken and egg situation. :-( This needs to be fixed somehow!! Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com> | |||
2010-02-24 | docview: GetTextAreaWidth already includes ScrollbarWidth in the calculation. | Graeme Geldenhuys | |
2010-02-24 | docview: GetTextAreaWidth implementation fix | Graeme Geldenhuys | |
Also some minor code formatting changes. | |||
2010-02-11 | Fix compiler waring about unreachable code. | Graeme Geldenhuys | |
2009-11-27 | Merged separate DocView project as our subdirectory | Graeme Geldenhuys | |