summaryrefslogtreecommitdiff
path: root/docview/components/richtext
AgeCommit message (Collapse)Author
2011-07-24docview: rename paramater so as to prevent confusion with a global variableGraeme Geldenhuys
Settings is a global variable for RichView component. I renamed the parameter Settings to ASettings so as to prevent any possible confusion between the two.
2011-07-24docview: code formatting improvements. Mainly indentation in case statements.Graeme Geldenhuys
2011-07-24docview: deleted unused or commented codeGraeme Geldenhuys
2011-07-24docview: bug fix where font description had two fontsize values defined.Graeme Geldenhuys
2011-07-23docview: minor code formatting improvements.Graeme Geldenhuys
2011-07-23docview: FontNameSize has a duplicate font size elementGraeme Geldenhuys
The global variable DefaultTopicFont already contained the font size, so we didn't need to append it.
2011-07-23TRichTextLayout & TLayoutLine code reworked to classes instead of arraysGraeme 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-23wip stashGraeme Geldenhuys
2011-07-23fixes compiler errors after bring 'fonts_refactor' branch up to speedGraeme Geldenhuys
2011-07-23Major 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-08docview: Removed left-over debug code. Sorry! :-(Graeme Geldenhuys
2011-02-03temp storage for Encoding implementation in DocViewGraeme Geldenhuys
2010-09-30richview: track cursor position for DocView Notes supportGraeme 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-30docview: minor code formattingGraeme Geldenhuys
2010-09-30Removed FontWidthPrecisionFactor. We don't use it anyway.Graeme Geldenhuys
2010-09-01docview: Implemented mouse cursor changes when moved over links.Graeme Geldenhuys
2010-09-01docview: introduced user configurable mouse wheel scroll distance.Graeme Geldenhuys
2010-09-01docview: minor code formattingGraeme Geldenhuys
2010-09-01docview: Removed unused or commented unitsGraeme Geldenhuys
2010-09-01docview: Replace unicode character in source code with UTF-8 byte sequence.Graeme Geldenhuys
2010-09-01docview: Replaced hard-coded font values with constants.Graeme Geldenhuys
A reference to a default font or fixed font are now the same throughout docview. If you change one, you change them all.
2010-09-01docview: fixed unwanted linefeeds which were not in INF docs.Graeme Geldenhuys
2010-08-26richview: disabled clipboard items in popup menu for now.Graeme Geldenhuys
* This causes the app using Richview to freeze. :-/
2010-08-23Removed unused code.Graeme Geldenhuys
2010-08-22dcoview: fixed a minor memory leak.Graeme Geldenhuys
2010-08-22docview: fixes the AV on exit.Graeme Geldenhuys
NOTE This is not a 100% fix, but rather a work-around. I need to still find out why such AV's occur.
2010-08-12richview: fixed position of bitmap in context.Graeme Geldenhuys
The positioning of images still used the OS/2 co-ordinate system. This is now fixed.
2010-08-11RichTextView: Minor method parameter refactoring.Graeme Geldenhuys
To reduce in possible confusion - with Images property found in some other classes.
2010-08-06docview: Correctly pass in the text area height to DrawTextGraeme Geldenhuys
2010-08-06docview: Code cleanup, removing already commented code.Graeme Geldenhuys
2010-08-06docview: We don't have Line.MaxDescender set, so no need to use it.Graeme Geldenhuys
2010-08-06docview: Fixed mono font screwup when scrolling large tables.Graeme Geldenhuys
When scrolling pages that contain large tables of source code examples using mono fonts, it changed no non-mono fonts. This is now finally fixed!
2010-08-06docview: Removed the check for FontType = ftOutline.Graeme Geldenhuys
We always use outline fonts in fpGUI.
2010-08-05RichTextView: Improved the scrollbar PageSize and SliderSize based on ↵Graeme Geldenhuys
content displayed.
2010-08-05RichTextView: fixed the scrolling direction when PgUp or PgDn is pressed.Graeme Geldenhuys
2010-08-05DocView: 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-03-11fixes compilation for docview and fpc 2.5.1Andrew
Not sure when it became the case but it makes sense that var parameters must use the exact type and not a descendant class. This patch puts that into effect.
2010-03-09docview: renamed local variables to reduce future confusion.Graeme Geldenhuys
We don't want to confuse properties and local variables, so the latter gets a different style: normally prefixed with the letter 'l'.
2010-03-09When debugging with GDB these lines sometimes gives FPC AnsiString errors.Graeme Geldenhuys
No idea why!! So we comment them simply because they are debug lines to start with.
2010-02-24docview: 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-24docview: GetTextAreaWidth already includes ScrollbarWidth in the calculation.Graeme Geldenhuys
2010-02-24docview: GetTextAreaWidth implementation fixGraeme Geldenhuys
Also some minor code formatting changes.
2010-02-24docview: code formatting changes.Graeme Geldenhuys
2010-02-24docview: This drastically improved text width calculations.Graeme Geldenhuys
Due to this change the text wrapping has also improved a lot. Still not 100% but much better than before.
2010-02-24docview: Lets not hardcode the Arial font.Graeme Geldenhuys
2010-02-23docview: content doesn't disappear as soon as it reaches the top/bottom edgeGraeme Geldenhuys
lines at top and bottom of richview component are now painted even if they are only partially visible. They don't suddenly disappear any more.
2010-02-11Fix compiler waring about unreachable code.Graeme Geldenhuys
2010-02-11Fix visibility problem with constructor and destructor.Graeme Geldenhuys
2009-11-27Quick summary documentation for RichTextView.Graeme Geldenhuys
2009-11-27Merged separate DocView project as our subdirectoryGraeme Geldenhuys