summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-11richview: 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-11RichView: Correctly calculate the HScrollBar Max value.Graeme Geldenhuys
Now that we correctly the FLayout.Width value this change could now be made.
2011-08-11richview: ExtractNextTextElement() changed to support UTF-8 charactersGraeme 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-11richview: we should be looking at SB Width or Height propertyGraeme 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-11changed string parameter to TfpgString typeGraeme Geldenhuys
2011-08-11richview: fixes right alignment of imagesGraeme 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-11richview: correct the localion where we call to update scrollbar coords.Graeme Geldenhuys
2011-08-11minor code formatting, improved code commentsGraeme Geldenhuys
2011-08-11richview: fixes the painting bug of bottom/right corner rectangleGraeme Geldenhuys
Refactored the code, so we only use UpdateScrollBarCoords() method.
2011-08-11corrected the bottom/right corner color for RichView.Graeme Geldenhuys
It's the rectangle between the two scrollbars.
2011-08-11add and remove commentsGraeme Geldenhuys
- added a unit header comment - removed old code comments not needed any more - removed old debug lines
2011-08-11regexpr: sync'ed changes from Lazarus synedit component directoryGraeme Geldenhuys
- fixes the spelling of 'useful' - Many 64-bit support fixes. Mainly Integer vs PtrInt changes - Correct implementation of TRegExpr.GetMatch() - extra debugging measures
2011-08-11ide: improved syntax highlighting, and extending it.Graeme Geldenhuys
We now support comments correctly, compiler defines, strings, decimal and hex numbers.
2011-08-10ide: apply newly selected fonts to open editors. This is still WIP.Graeme Geldenhuys
2011-08-09ide: huge speed improvement in syntax highlightingGraeme Geldenhuys
Getting font resources are very costly. So now we cache the font used for reserved keyword highlighting and simple reuse it, instead of creating and freeing it for each line (like we did up 'till now). This caused a MASSIVE speed increase! :-D
2011-08-09ide: improves syntax highlighting even moreGraeme Geldenhuys
- multiple matches in the same line are now supported - regex reserved keyword matching is now case-insensitive
2011-08-09ide: removed unused (old) code we don't need any more.Graeme Geldenhuys
This was used before we implemented regex syntax highlighting.
2011-08-09ide: syntax highlighting improvements by adding reserved keywords to regexGraeme Geldenhuys
- Also improved correct highlighting by using word boundaries in regex.
2011-08-09ide: adds syntax highlighting support for {...} style comments.Graeme Geldenhuys
2011-08-09ide project settings: improved compiler options for better debuggingGraeme Geldenhuys
2011-08-08richview: minor refactoring of code and fixing of one memory leak.Graeme Geldenhuys
2011-08-08bug: forgot to check in this change. Item[] -> Items[]Graeme Geldenhuys
A recent commit forced this change so it is consistent with fpGUI and RTL usage of array property.
2011-08-05docview: updated the very out of date todo list file.Graeme Geldenhuys
2011-08-04added extrasfpc.cfg file for x11_wininfo app.Graeme Geldenhuys
2011-08-04created template unit output directory for ATS contributed app.Graeme Geldenhuys
2011-08-04minor fixes to examples due to Item[] to Items[] change.Graeme Geldenhuys
2011-08-04imagelist Item[] property changed to plural Items[]Graeme Geldenhuys
This is consistent with other components in the RTL, FCL and even fpGUI itself.
2011-07-29docview: implemented saving and loading of bookmarks per file.Graeme Geldenhuys
- A new toolbar button is added in the main form. - The Bookmarks menu is correctly updated - Closing a help file correctly clears the bookmarks menu too.
2011-07-29docview: implemented TBookmark.Save method.Graeme Geldenhuys
2011-07-28docview: call DoSearch directly when search is done via -k or -n parameter.Graeme Geldenhuys
2011-07-28docview: fix status message when no search matches are found.Graeme Geldenhuys
It incorrectly showed "1 match found" due to the message we added to the search result listbox.
2011-07-28correction of minor spelling mistakesGraeme Geldenhuys
2011-07-28docs: fixed EOL style characters for fpg_base.xmlGraeme Geldenhuys
2011-07-28docs update mentioning support for OpenSolaris.Graeme Geldenhuys
I have successfully tested fpGUI using OpenSolaris 2010.03 (x86) using FPC 2.4.4.
2011-07-28Changed IFDEF around users unit in uses clause.Graeme Geldenhuys
It seems FPC only supports users.pp unit in Linux. Making this changes allows use to compile fpGUI under OpenSolaris too!
2011-07-28added missing fpc config file so we can compile fpgIDE from the command line.Graeme Geldenhuys
2011-07-27BaseGrid and Home/End key handling and focused cells.Graeme Geldenhuys
We never used to check if we are allowed to set the FFocusCol, we just assumed we are allowed. Now we try each column while calling CanSelectCell() in each iteration so we select the first available column.
2011-07-27BaseGrid.HandleKeyPress and consume variable behaviour has changed.Graeme Geldenhuys
Old behaviour we simply forced Consumed = True and later Consumed = False. This has a very good chance of overwriting the origin consume value. We now only set consume to True, if it is really so.
2011-07-27docview installation and mime-type registration.Graeme Geldenhuys
I created a install.sh script that registers DocView in the Gnome Applications menu, registers the INF file mime-type and associated icon (so it looks nice in Nautilus).
2011-07-26docview: fixed spelling mistake in code commentsGraeme Geldenhuys
2011-07-26docview: fixes the AV that occurs when you switch INF files that had notes.Graeme Geldenhuys
The ClearNotes() function was correctly called, I just forgot to implement it. :-(
2011-07-26docview: bug fix in font substitutions.Graeme Geldenhuys
I defined a incorrect default font value. The Fixed Font Substitutes are supposed to reference the fonts as defined in the IPF file, which will then get substituted with the user's selected fixed font.
2011-07-26docview help: more grammar improvements.Graeme Geldenhuys
2011-07-25docview help: Replaced the work 'DocView' with a &dv. marco.Graeme Geldenhuys
Now we have the product name 'DocView' written in a consistent manner throughout the document. It is now easy to change in the future too.
2011-07-25docview help: improved some grammar in the help text.Graeme Geldenhuys
2011-07-25docview help: fixed the formatting of example text.Graeme Geldenhuys
- corrected the indentation level of example code - added two missing paragraph symbols that should have appeared after example text.
2011-07-25docview: -n parameter validationGraeme Geldenhuys
We now gracefully handle invalid -n parameter values, and notify the enduser of such a problem - instead of just crashing out.
2011-07-25docview: 1st parameter handling improvementGraeme Geldenhuys
We now try and detect if a valid filename was passed as the first parameter. If not (eg: some other -XXX parameter) then we simply ignore it.
2011-07-25parameter handling improvementsGraeme Geldenhuys
Old behaviour was that we simply assumed the first parameter will be the X11 -display parameter. This is just WRONG! We now query the parameter list for the value of -display, that's if it exists in the first place.
2011-07-24docview: adjusted Margin Size Style to Avg Char Width.Graeme Geldenhuys
This gives an overall improved margin size. In future we should make this user selectable in Docview's Preferences dialog.