summaryrefslogtreecommitdiff
path: root/docview
AgeCommit message (Collapse)Author
2013-04-30Adds CP1251 to UTF8 encoding conversionGraeme Geldenhuys
2013-04-30docview: Fixes encoding bug introduced in earlier refactoringGraeme Geldenhuys
When I refactored the encoding conversion code, I accidentally write HelpFile.Encoding, instead of Settings.Encoding. This meant that changing the Encoding combobox in the docview main form had no affect.
2013-04-29RichView Editor test application.Michael van Canneyt
2013-04-25docview: Saving topics to IPF now save text as UTF-8 encoded text.Graeme Geldenhuys
Lets promote Unicode (UTF-8) usage as much as possible. It's much easier than he stacks of other "old style" encodings.
2013-04-25docview: greatly improve scrolling speed when help topic contains imagesGraeme Geldenhuys
We always did StretchDraw() which is rather CPU intensive. Now we check the image dimensions first, then decide if StretchDraw() is really needed or not. If not, then do the much faster DrawImage() call.
2013-04-25docview: fixes some compiler hintsGraeme Geldenhuys
- unused variables - added a note on how to fix another compiler hint (range check error)
2013-04-25docview: minor code formatting changesGraeme Geldenhuys
2013-04-25docview: extended "File Info" output to include font encoding information.Graeme Geldenhuys
2013-04-25docview: When searching, do a text encoding conversion of dictionary words.Graeme Geldenhuys
We forgot to do this before, so sometimes text could not be found. Also added a note on how we could improve the speed.
2013-04-25docview: refactored text encoding versionGraeme Geldenhuys
docview now uses a single fpGUI call to do encoding conversions. This make is much easier to maintaing - a single method needs to be modified if new encoding conversions get added.
2013-04-12docview: To make sure TotalSize is > 0Graeme Geldenhuys
2013-04-09Merge latest fixes from 'release-1.0' branch into developGraeme Geldenhuys
2013-04-09version bump for develop branchGraeme Geldenhuys
2013-04-08docview: added lots of keyboard shortcutsGraeme Geldenhuys
2013-04-08docview help file update.Graeme Geldenhuys
Added a keyboard shortcut section.
2013-04-08Fixes a spelling mistake of a filename (readme)Graeme Geldenhuys
2013-04-06code syntax consistency. Changes << to shlGraeme Geldenhuys
2013-04-05docview: Enabled support for reading images from INF files. (WIP)Graeme Geldenhuys
This is still Work-In-Progress because the images are displayed, but sometimes incorrectly, or with a wrong color palette. Either way, this is progress, and very long overdue. ;-)
2013-04-05docview: debug code to help debug reading images from INF files.Graeme Geldenhuys
2013-04-05docview: removes commented code we don't use or need any more.Graeme Geldenhuys
2013-04-05docview: simple pointer usage issues.Graeme Geldenhuys
The program was overwriting the pointer itself, and not the location the pointer is pointing too. Simple mistake! :-/
2013-04-03docview: Help button in Notes dialog is now functional.Graeme Geldenhuys
2013-04-03docview: update help file - bookmarks functionality is now fully implementedGraeme Geldenhuys
2013-04-03docview: Implements the Bookmark Maintenance form.Graeme Geldenhuys
We can now Jump To bookmark, rename bookmarks, delete bookmarks etc.
2013-04-03docview: updated todo list fileGraeme Geldenhuys
2013-04-03docview: assign own help file for future dialog help.Graeme Geldenhuys
2013-04-03Move constants to constants unitGraeme Geldenhuys
2013-04-03docview: removed second constants unit - we only need oneGraeme Geldenhuys
2013-04-03docview: Adds support for external links (links to other INF files)Graeme Geldenhuys
2013-04-02Bump the version numbersGraeme Geldenhuys
2013-03-19docview: fixes grammer error in code commentGraeme Geldenhuys
2013-03-19docview: Fixes a bug where URL links where not handled correctly.Graeme Geldenhuys
When we detected know web browser names, we had to only use the URL part, not the original program+url text. DocView lets the OS choose the web browser.
2013-03-19docview: fixes a grammar error in the docsGraeme Geldenhuys
2013-03-14docview: improved the looks of the topic title panelGraeme Geldenhuys
Later I will probably make this configurable too.
2013-03-12richtext: minor improvement to default used colorsGraeme Geldenhuys
2012-12-04RichTextView 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-11-26docview: Improved the IPF-to-RichTextView generated tags for colored text.Graeme Geldenhuys
2012-11-26More richtext color tag improvements.Michael van Canneyt
Attached is another patch I made for the richtext edit. Now the red/green/blue/black tags can/must be closed by a correct red/green/blue/black closing tag. That means that except for the margin tags, all tags can/must now be closed with a matching tag.
2012-11-26Some docview IPF-to-RichTextView syntax changes.Graeme Geldenhuys
Due to stricter syntax and other mark-up (tag) changes in RichTextView, we need to update DocView accordingly. Not much was needed though.
2012-11-26RichTextView syntax tag improvementsMichael van Canneyt
1) h1, h2 h3 are now ended by /h1 /h2 /h3 2) <wrap yes> and <wrap no> are changed to <nowrap> </nowrap> 3) The size part of the font tag is now optional. I suspect a small change is still needed in order to apply the font size if one is specified anyway. I put a comment in the text for that. 4) I adapted the sample01.txt so it reflects the 1. and 2. changes.
2012-11-22Improves the text formating of the readme file.Graeme Geldenhuys
2012-11-22Fixes the description of the <rightmargin> tag.Graeme Geldenhuys
2012-11-22Fixes line ending issuesGraeme Geldenhuys
2012-11-21Removes verbose logevent() calls from docview.Graeme Geldenhuys
Those many logevent() calls makes other debugging really difficult.
2012-11-21Adds a small stand-alone test app for the RichTextView component.Graeme Geldenhuys
2012-11-21Removed outdated code comment.Graeme Geldenhuys
2012-11-21richtextview - documentation in readme file is updated.Graeme Geldenhuys
2012-11-21richtext:: Incorrect "normal font" was assigned as default style.Graeme Geldenhuys
Very weird, there was even a code comment saying that it was wrong!! The constructor of TRichTextSettings already sets the "normal font". So by ignoring the ASettings parameter, the end-user couldn't assign a new normal font values. Anyway, this is now fixed.
2012-11-19docview todo item already implemented.Graeme Geldenhuys
2012-10-23richview: 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().