Search found 1045 matches

by Rickard Johansson
12 Feb 2014 13:23
Forum: Syntax files
Topic: Highlight Object-Methods possible ?
Replies: 24
Views: 48576

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: 48576

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: 13184

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: 12490

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: 12242

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: 28247

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: 28247

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: 48576

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: 48576

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: 48576

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: 48576

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: 16191

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: 16986

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)
by Rickard Johansson
04 Jul 2013 17:09
Forum: Syntax files
Topic: Highlight Object-Methods possible ?
Replies: 24
Views: 48576

Re: Highlight Object-Methods possible ?

It's called "positive lookbehind" and you can find some more information at http://www.regular-expressions.info/lookaround.html.
by Rickard Johansson
03 Jul 2013 17:59
Forum: Syntax files
Topic: Highlight Object-Methods possible ?
Replies: 24
Views: 48576

Re: Highlight Object-Methods possible ?

Did you remove the theme in the options window first? The editor needs to re-load the .xml file from disk. Once that is done all options are stored in the TextEd.ini file.