Age | Commit message (Collapse) | Author |
|
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
|
|
- multiple matches in the same line are now supported
- regex reserved keyword matching is now case-insensitive
|
|
This was used before we implemented regex syntax highlighting.
|
|
- Also improved correct highlighting by using word boundaries in regex.
|
|
|
|
|
|
|
|
A recent commit forced this change so it is consistent with fpGUI and
RTL usage of array property.
|
|
|
|
|
|
|
|
|
|
This is consistent with other components in the RTL, FCL and even fpGUI
itself.
|
|
- 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.
|
|
|
|
|
|
It incorrectly showed "1 match found" due to the message we added to the
search result listbox.
|
|
|
|
|
|
I have successfully tested fpGUI using OpenSolaris 2010.03 (x86) using
FPC 2.4.4.
|
|
It seems FPC only supports users.pp unit in Linux. Making this changes
allows use to compile fpGUI under OpenSolaris too!
|
|
|
|
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.
|
|
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.
|
|
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).
|
|
|
|
The ClearNotes() function was correctly called, I just forgot to implement
it. :-(
|
|
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.
|
|
|
|
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.
|
|
|
|
- corrected the indentation level of example code
- added two missing paragraph symbols that should have appeared after
example text.
|
|
We now gracefully handle invalid -n parameter values, and notify the enduser
of such a problem - instead of just crashing out.
|
|
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.
|
|
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.
|
|
This gives an overall improved margin size. In future we should make this
user selectable in Docview's Preferences dialog.
|
|
- Rename Settings parameter to ASettings. This is to prevent possible
confusion with the Settings global variable.
- ApplyStyleTag had many issues, applying the style changes to the
wrong properties. Manyly, styling was applied to the ASettings parameter
when they should have been applied to the Style parameter.
- Code formatting improvements.
|
|
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.
|
|
|
|
|
|
|
|
|
|
The global variable DefaultTopicFont already contained the font size, so
we didn't need to append it.
|
|
- 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.
|
|
|
|
|
|
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.
|
|
The fpg_textedit unit lives on in the examples/apps/ide project.
|
|
|
|
A "clean" project file means an project file without personal session
information. When editing this project with MSEide, use a copy of fpgide.prj,
but not that project file itself.
|