Search found 14 matches

by 13Qiao
Thu Nov 17, 2011 4:47 pm
Forum: General
Topic: Clip library bug?
Replies: 2
Views: 438

So 4 years no plan to fix it?
by 13Qiao
Wed Oct 26, 2011 3:22 pm
Forum: General
Topic: Clip library bug?
Replies: 2
Views: 438

Clip library bug?

TextPad V5.4.2, on Windows XP, and Windows 2003 From help: The Clip Library is a collection of text clippings, organized into files, referred to as "books". Each book can contain any number of clippings, and each clipping can be any amount of text, with an optional "hot spot". User experience: When ...
by 13Qiao
Fri Oct 24, 2008 3:57 pm
Forum: General
Topic: RegEx replace
Replies: 7
Views: 743

I know exactly what [commandmenu]* means, I just didn't know I can use command|menu. Silly me. Thank for helping me on this.
BTW, I always use the default syntax, but it seems POSIX syntax is simpler than default syntax. I will try POSIX from now on.
by 13Qiao
Fri Oct 24, 2008 2:19 pm
Forum: General
Topic: RegEx replace
Replies: 7
Views: 743

I got it worked by myself

Hi Ben, Your notes reminded me to put all commandRef/menuRef in one single line, and I got it worked. First, remove \n between commandRef/menuRef. replace: \([commandmenu]*\)Ref\(.*\)\n\([commandmenu]*\)Ref with: \1Ref\2\3Ref Then, remove "deleted-added" pair. replace: \([commandmenu]*\)Ref ...
by 13Qiao
Thu Oct 23, 2008 4:05 pm
Forum: General
Topic: RegEx replace
Replies: 7
Views: 743

need a solution to do automatically

Thanks Bob, but I need a automatic solution, not delete manually. If I would do it manually, I will just highlight those lines, sort, and delete manually. There are more other lines in the text, like <Beginning text> ... ====== 'menu' 'APPRouteContentActionsToolBar' ====== commandRef ...
by 13Qiao
Thu Oct 23, 2008 2:52 pm
Forum: General
Topic: RegEx replace
Replies: 7
Views: 743

I can find the "deleted" line and "added" line.

Code: Select all

commandRef \(.*\) [0-9]*' has been deleted.\n
<what should be here?>
commandRef \1 [0-9]*' has been added.\n
I real problem is, how to represent the multiple lines between these 2 lines?
by 13Qiao
Thu Oct 23, 2008 2:25 pm
Forum: General
Topic: RegEx replace
Replies: 7
Views: 743

RegEx replace

I have the following text. ... (More lines with similar format) commandRef ENCBOMEditAll 2' has been deleted. commandRef ENCBOMCopyFrom 3' has been deleted. commandRef AEFSeparator 4' has been deleted. ... (More lines with similar format) commandRef ENCEBOMTableEditAll 3' has been added. commandRef ...
by 13Qiao
Wed May 25, 2005 4:02 pm
Forum: General
Topic: Syntax higtlighting on file without extension
Replies: 11
Views: 839

OK, here is what I found. If I open a new file like *JPO, it works. If I open a saved workspace contains *JPO, it doesn't work. If I close that *JPO file, and open it again within the workspace, it works. It looks like the workspace file is not reading the latest doc calss settings... Thanks for the ...
by 13Qiao
Wed May 25, 2005 2:15 pm
Forum: Enhancement Suggestions
Topic: syntax highlighting for file without extension
Replies: 1
Views: 208

syntax highlighting for file without extension

It seems Textpad does not support syntax highlighting for files that do not have extension.

http://www.textpad.info/forum/viewtopic.php?t=6514
by 13Qiao
Fri May 20, 2005 8:29 pm
Forum: General
Topic: Syntax higtlighting on file without extension
Replies: 11
Views: 839

*. does not work.
by 13Qiao
Fri May 20, 2005 8:01 pm
Forum: General
Topic: Syntax higtlighting on file without extension
Replies: 11
Views: 839

Unfortunately, after adding *.* to ZJPO doc class, it still does not work.

Now, ZJPO is the last Doc class in the list, and it has *.* and *JPO files in class. I tried different orders of *.* and *JPO. None of them worked.
by 13Qiao
Fri May 20, 2005 3:02 pm
Forum: General
Topic: Syntax higtlighting on file without extension
Replies: 11
Views: 839

helios, I followed your instructions, but it still does not work.
by 13Qiao
Fri May 20, 2005 12:21 pm
Forum: General
Topic: Syntax higtlighting on file without extension
Replies: 11
Views: 839

There isn't any pattern without extension except the default doc class (*.*) which is above my Java doc class.
by 13Qiao
Thu May 19, 2005 8:35 pm
Forum: General
Topic: Syntax higtlighting on file without extension
Replies: 11
Views: 839

Syntax higtlighting on file without extension

Hi There,

I want to use java syntax highlight on filename pattern *JPO (postfix with JPO, no extension). I tried *JPO, *JPO. and *JPO.*, but none of them worked. Could Textpad do it?

Thanks,
Yong