Search found 1047 matches

by Rickard Johansson
26 Mar 2014 09:49
Forum: Scripts
Topic: Numeric base translator
Replies: 5
Views: 20664

Re: Numeric base translator

Made some minor changes. It still doesn't work properly yet. The editor component (TEdit) use ANSI while the script engine use Unicode. I need to replace all the components for events like entDecimal.OnKeyPress = &KeyPress; to work. I had to comment out some events for the script to work below. ...
by Rickard Johansson
23 Feb 2014 14:50
Forum: Scripts
Topic: Convert between HTML entities and special characters
Replies: 3
Views: 18595

Re: Convert between HTML entities and special characters

It's been fixed in the next release. Thanks!
by Rickard Johansson
12 Feb 2014 13:23
Forum: Syntax files
Topic: Highlight Object-Methods possible ?
Replies: 24
Views: 52903

Re: Highlight Object-Methods possible ?

I've replaced the old regex library and you can use something like this in the next version (v8.90):

[Keywords]
#Own functions=\$\w+\.\K\w+
by Rickard Johansson
01 Feb 2014 15:16
Forum: Syntax files
Topic: Highlight Object-Methods possible ?
Replies: 24
Views: 52903

Re: Highlight Object-Methods possible ?

I can't make changes to the regex dll file. I'll try to use a newer library but it will take some time to make it work.
by Rickard Johansson
24 Dec 2013 00:19
Forum: News
Topic: Merry Christmas
Replies: 1
Views: 15568

Merry Christmas

Merry Christmas everyone and happy holidays!


Image
by Rickard Johansson
23 Nov 2013 16:59
Forum: News
Topic: Next version ...
Replies: 1
Views: 14848

Next version ...

Right now I'm really busy and don't have much time to work on the program. I am still working on it though and a new version is coming ...
by Rickard Johansson
30 Sep 2013 17:18
Forum: News
Topic: Polish dictionary
Replies: 1
Views: 14628

Polish dictionary

I think there was something wrong with the Polish dictionary. I updated the files on the server.

To download - open the Addons dialog window and download it from the "Addons online" tab.
by Rickard Johansson
22 Sep 2013 18:14
Forum: Extensions
Topic: About extensions
Replies: 3
Views: 30981

Re: About extensions

I've updated the "AddSidebarPage" demo extension and added a caption. The new page should read "Test", if captions are displayed.
by Rickard Johansson
10 Sep 2013 16:38
Forum: Extensions
Topic: About extensions
Replies: 3
Views: 30981

About extensions

Extensions are just script files that are run at startup. Then they wait for an event to occur. The event can be a selected menu item, or a button clicked on, added by the extension. Create all extensions using the Quickbar => User Scripts tools. For more information on how to create an extension - ...
by Rickard Johansson
30 Jul 2013 13:35
Forum: Syntax files
Topic: Highlight Object-Methods possible ?
Replies: 24
Views: 52903

Re: Highlight Object-Methods possible ?

You could highlight the precompiler-options as well and put this keyword group before the object method group.

E.g.

#precompiler options=#[a-zA-Z-\.=]+
#Objects=(?<=\w\.)[a-zA-Z]+
by Rickard Johansson
30 Jul 2013 10:04
Forum: Syntax files
Topic: Highlight Object-Methods possible ?
Replies: 24
Views: 52903

Re: Highlight Object-Methods possible ?

Why can't you use something like (?<=\w\.)[a-zA-Z]+ :?: Do you really have to check for the $ sign?
by Rickard Johansson
29 Jul 2013 17:08
Forum: Syntax files
Topic: Highlight Object-Methods possible ?
Replies: 24
Views: 52903

Re: Highlight Object-Methods possible ?

This works, but it's not an elegant solution: (?<=\$....\.)([a-zA-Z]+)|(?<=\$.....\.)([a-zA-Z]+)|(?<=\$......\.)([a-zA-Z]+) etc. (?<=\$....\.) matches a 4 letter name starting with $ e.g. $Name (?<=\$.....\.) matches a 5 letter name ... You can add as many expressions you want separated by |
by Rickard Johansson
29 Jul 2013 14:06
Forum: Syntax files
Topic: Highlight Object-Methods possible ?
Replies: 24
Views: 52903

Re: Highlight Object-Methods possible ?

I don't think you can use regex expressions like \$[a-zA-Z0-9]+\. in a lookbehind or lookaround. It will only work with simple expressions like \. or \$

I'm not sure it works but have you tried (?<=\$\w+\.)[a-zA-Z]+
by Rickard Johansson
21 Jul 2013 17:07
Forum: Scripts
Topic: Convert between HTML entities and special characters
Replies: 3
Views: 18595

Convert between HTML entities and special characters

A simple script to convert HTML entities to characters or special characters to HTML entities. This is a modified script created by Walti. A dialog window let you choose which type of conversion you want to make. This script will only work with version 8.65, or later. var entities[200]; var chars[20...
by Rickard Johansson
14 Jul 2013 18:55
Forum: Scripts
Topic: The state of the Macro system
Replies: 5
Views: 19514

Re: The state of the Macro system

The script engine doesn't work well with Unicode. I'm trying to rewrite the code (not originally written by me) 8)