Plugin: hpwPlusMemo / hpwColorMemo

This plugins provide a memo-control with custom syntax-highlighting and hotspots.
More info on the great PlusMemo-component PlusMemo V6
With kindly permission from Electro-Concept Mauricie (http://www.ecmqc.com)

This is hpwPlusMemo release 1.14 and hpwColorMemo(discontinued) release 1.25:

hpwPlusMemo114.zip 1386 KB

hpwColorMemo125.zip 449 KB


History hpwPlusMemo:


Changes Release 1.14:(06.03.2016)

New variable [hpwMemoBlockSelection] Allows column mode editing with mouse+ALT-key.


Changes Release 1.13:(14.07.2015)

Change: [hpwPlusMemoPopupMaskColor] renamed to [hpwMemoPopupMaskColor].
Bugfix: Wizard of hpwPlusMemoSetVar now aware of hpwMemoPopupMaskColor as a color variable.


Changes Release 1.12:(13.07.2015)

Action: hpwPlusMemoActivatePopup - Activate/setup a custom popupmenu of the memo.
Action: hpwPlusmemoSetPopupItem - Set different propertys of a popup item.


Changes Release 1.11:(12.07.2015)

New variable [RectangleName_InternalPopupCaption0] for setting caption-text of 'Undo' in internal popup-menu.
New variable [RectangleName_InternalPopupCaption1] for setting caption-text of 'Redo' in internal popup-menu.
New variable [RectangleName_InternalPopupCaption3] for setting caption-text of 'cut' in internal popup-menu.
New variable [RectangleName_InternalPopupCaption4] for setting caption-text of 'copy' in internal popup-menu.
New variable [RectangleName_InternalPopupCaption5] for setting caption-text of 'paste' in internal popup-menu.
New variable [RectangleName_InternalPopupCaption7] for setting caption-text of 'select all' in internal popup-menu.
The new variables allows translation into other languages.
Bugfix: Wizard of hpwPlusMemoSetVar was throwing access violation sometimes.


New upload(01.11.2013)

Plugins are now uncompressed without upx-compression.


Changes Release 1.10:(02.09.2013)

Action: hpwPlusMemoInsertText - Each Insert can now be undone by undo. Also need smaller undo-buffer.
Action: hpwPlusMemoDeleteText - Each delete can now be undone by undo. Also need smaller undo-buffer.


Changes Release 1.09:(31.08.2013)

Action: hpwPlusMemoUndo - Undo last operation.
Action: hpwPlusMemoRedo - Redo last Undo.
Action: hpwPlusMemoClearUndo - Reset Undo-Buffer.


Changes Release 1.08:(10.12.2012)

Change: hpwPlusMemoInsertText should no more change the view of the control.
Change: hpwPlusMemoDeleteText should no more change the view of the control.


Changes Release 1.07:(27.09.2012)

Action: hpwPlusMemoGetText Get a string form a position with a wanted length.
Action: hpwPlusMemoInsertText Insert a string at a position of the memotext.
Action: hpwPlusMemoDeleteText Delete a string at a position and a wanted length.


Changes Release 1.06:(25.09.2012)

Variable: [RectangleName_SupressChangeAction] allows to supress the OnChange-Event


Changes Release 1.05:(19.05.2012)

Command wizard of hpwPlusMemoScrollTo had no editable X-Pos (derived from hpwColorMemo where it does not work)


Changes Release 1.04:(18.05.2012)

New variable [hpwMemoGutterWidth] for controlling display and width of a line-gutter


Changes Release 1.03:(12.04.2012)

Bugfix: FontSize was also set in the INI-file. Now only [hpwMemoFontSize] does it.

New variable [hpwMemoScrollTime] for controlling smooth scrolling speed

New variable [hpwMemoKeyDownProc] for enabling/disabling KeyDown-processing to [RectangleName_KeyDownKey]
This can avoid unwanted side effects


Changes Release 1.02:(10.04.2012)

Another subHighlighter-option in [hpwMemoSubHighLighter] : RegExHighlighter1

New variable [hpwMemoRegExStartStop] for use with RegExHighlighter1

New INI-sections [RegExSections] and [RegExKeywords]


New Upload Release 1.01a:(09.04.2012)

Separate tool KeyWordEdit.exe to edit KeyWordLists and Start/StopLists.


Changes Release 1.01:(09.04.2012)

Bugfix for resize-bug

New variable [hpwMemoSubHighLighter] and [hpwMemoNumberColor]

Additional syntax-doc in comments of newlisp.ini


Initial Release 1.0:(08.04.2012)

Supports most of the commands of hpwColorMemo.

hpwColorMemoScrollBy changed to hpwPlusMemoScrollTo.

New config format for systax highlighting and hotspot-config.



History hpwColorMemo:


Changes Release 1.25:(08.05.2010)

New variable Rectanglename_KeyDownKeyValue contains the raw integer code of the key.

You can set a new variable RectangleName_CaretValue to set your needed value for the caret check.
(On different keyboard.shemas for other countrys there is a different value)

A missing config-file for the highlighter no more throw an error.

A highlighter-file or string must contain at least a '0|Add' string to be detected as valid config-data.


Changes Release 1.24:(05.05.2010)

Bugfix: You can now type the ^ (caret) key. It is reported as CARET in the _KeyDownKey variable.


Changes Release 1.23:(20.04.2010)

hpwColorMemoSetProp can set the propertys HideSelection (0/1) and MaxLength (0 = unlimited).


Changes Release 1.22:(21.12.2009)

Actions _OnMouseDownAction+_OnMouseUpAction reports now button in RectangleName_MouseButton


Changes Release 1.21:(20.12.2009)

Action RectangleName_OnKeyDownAction reports now this variables:

[RectangleName_KeyDownShift] - contain 0 or 1 for state of shift-key
[RectangleName_KeyDownAlt] - contain 0 or 1 for state of alt-key
[RectangleName_KeyDownCtrl] - contain 0 or 1 for state of ctrl-key
[RectangleName_KeyDownKey] - contain the key or a keyword for various special keys

(Stays discontinued because D5 only)


Changes Release 1.20:(19.12.2009)

Added a [RectangleName_OnChangeAction] event
Added a [RectangleName_OnKeyDownAction] event
Added a [RectangleName_OnKeyUpAction] event
Added a [RectangleName_OnMouseDownAction] event
Added a [RectangleName_OnMouseMoveAction] event
Added a [RectangleName_OnMouseUpAction] event

(Stays discontinued because D5 only)


Changes Release 1.19:(19.08.2009)

Recompiled without Win32.Induc delphi virus

(Stays discontinued but recompiled with D5 and repacked)


Changes Release 1.18:(31.05.2009)

Changed the used runtime-packer for a better vista and IE8-compatibility.

(Stays discontinued but recompiled with D5 and repacked)


Plugin discontinued:(2.1.2009)

Since all other plugins move to delphi 7 compile, this plugin is now discontinued.
Because I do not have the source of the underlaying delphi component, I can not compile any more under D7.
Bugfixes may be possible as long not the component itself is involved.


Changes Release 1.17:(21.7.2008)

Bugfix for rectangle-handles > 32 bit


Changes Release 1.16:(22.1.2008)

All commands wizards show the exact command in the wizards dialog caption.

All commands wizards show the command, plugin-name and the command-hint similar to neobook's native commands.

Removed some designtime-related code from NBR which results in a slightly smaller size.

Added variable [hpwMemoPopupDisabled].


Changes Release 1.15:(3.12.2007)

hpwColorMemoSetFocus/hpwColorMemoSetText now set a variable RectangleName_Handle.


Changes Release 1.14:(28.11.2007)

Colormemo now resizes with the rectangle.


Changes Release 1.13:(27.11.2007)

Bugfix for setting height of colormemo in WIN XP


Changes Release 1.12:(19.1.2007)

Using NB 5.5.3 new privat variable to publish the DLL-name.


Changes Release 1.11:(15.10.2006)

Bugfix for TaskBarClickAndRestoreOnTop for About-dialog and command wizards

Small change in PUB to show subsequent paranthesis checking


Changes Release 1.10:(23.08.2006)

One command-wizards gets a additional file-selector.

Other bugfixes for the command-wizards.


Changes Release 1.09:(16.08.2006)

Added variable [hpwMemoFontCharset].

Bugfix: .hpwColorMemoVarTemplate on DoubleClick no longer adds garbage

Bugfix: .hpwColorMemoBalParan now correctly reports _CurLinePos _CurLine _SelStart _SelLength _SelText


Changes Release 1.08:(15.08.2006)

Added command wizards for each command.

Action: hpwColorMemoSetVar Set a var for a ColorMemo-Control attached to a Rectangle object.

Action: hpwColorMemoVarTemplate Insert a variable template with all colormemo variables (Design time).


Changes Release 1.07:(18.04.2005)

Action: hpwColorMemoSetHint Set Hint of a ColorMemo-Control attached to a Rectangle object.


Changes Release 1.06:(22.02.2005)

New direct newLISP-interface.


Changes Release 1.05:(06.12.2004)

BugFix: Memory-Leak on Create.


Changes Release 1.04:(23.11.2004)

Added hpwColorMemo.ini in plugin-directory to be able to translate/expand plugin comments.


Changes Release 1.03:(31.05.2004)

Action: hpwColorMemoCreate and hpwColorMemoLoadCfg now loads CFG-data also from memory/variable.


Changes Release 1.02:(17.01.2004)

Bugfix: hpwColorMemoLoadCfg has not clean its variable properly.


Changes Release 1.01:(30.12.2003)

Action: hpwColorMemoBalParan Find balanced paranthesis ([{..}]) in Text of the Memo-Control.


Initial Release 1.0:(28.12.2003)

Action: hpwColorMemoCreate Append a ColorMemo-Control to an existing NeoBook Rectangle object.

Action: hpwColorMemoDelete Remove a ColorMemo-Control previously attached to a Rectangle object.

Action: hpwColorMemoSetText Set Text of a ColorMemo-Control attached to a Rectangle object.

Action: hpwColorMemoClear Clear all Text of a ColorMemo-Control attached to a Rectangle object.

Action: hpwColorMemoLoadCfg Load a new CFG to a ColorMemo-Control attached to a Rectangle object.

Action: hpwColorMemoSetFocus Set focus to Memo-Control.

Action: hpwColorMemoScrollBy Scroll Memo-Control by X and Y.

Action: hpwColorMemoSelectAll SelectAll Text of the Memo-Control.

Action: hpwColorMemoSelectPos Select Text of the Memo-Control.

Action: hpwColorMemoCopyToClip Copy selected Text from Memo to clipboard.

Action: hpwColorMemoCutToClip Cut out selected Text from Memo to clipboard.

Action: hpwColorMemoPasteFromClip Paste Text from clipboard into selected Text of Memo.

Including a bunch of property-variables and global variables.