Search found 35 matches
- Fri Dec 29, 2006 2:00 am
- Forum: General
- Topic: Regex to match compilation error displayed in several lines
- Replies: 1
- Views: 195
Regex to match compilation error displayed in several lines
In searching the forum, it appears I am not the first to discover that the regex I've written to match a multi-line compiler error message does not enable me to jump to the line with the error. That is, this regex: ^URL: file:///([A-Z]:.+)\/(.+)\nLine:( *)([0-9]+)\nColumn: ([0-9]+)$ is designed for ...
- Fri Dec 29, 2006 1:38 am
- Forum: General
- Topic: "compile" and open resulting file?
- Replies: 3
- Views: 401
"compile" and open resulting file?
The examples for tools all describe compilers, but I'm actually using an xslt transform on an xml file. I have the Microsoft msxsl engine set up as a tool. If I provide the output parameter and filename, the resulting transformation is saved as a file. If I omit it, the resulting transformation show...
- Thu Dec 28, 2006 10:49 pm
- Forum: General
- Topic: How to add a "Comma" to all data rows
- Replies: 13
- Views: 1240
Making sure there are only 14 commas and 15 columns
Bob, I see now that your regex is locating a digit followed by a space, while I was thinking the desired regex should be locating a number (such as 0.67). Absolutely no need for that, of course, and adding the "\." as I did doesn't locate numbers either. I guess that would require a "...
- Thu Dec 28, 2006 4:56 pm
- Forum: HOW-TOs
- Topic: How to validate XML files or check for well-formedness
- Replies: 4
- Views: 6277
How to validate XML files or check for well-formedness
There are many XML parsers, but a small fast one is RXP. You can obtain a Windows binary version of it from ftp://ftp.cogsci.ed.ac.uk/pub/richard/rxp.exe . (A very brief descriptive page, with links to the source and a Unix man page is at http://www.cogsci.ed.ac.uk/~richard/rxp.html .) I find it eas...
- Thu Dec 28, 2006 4:06 pm
- Forum: General
- Topic: How to add a "Comma" to all data rows
- Replies: 13
- Views: 1240
- Thu Dec 28, 2006 3:57 pm
- Forum: General
- Topic: Cool new release released..
- Replies: 9
- Views: 2165
Feature set or performance as best evaluation guide
One way I look at all the fretting about TextPad that's going on in the forums is that feature-set is a secondary evaluation guide to performance. I take a lot of the comments as "Quit harping on a feature that's not in the program [yet]" and others (including some of my own) as "the ...
Code pages
After spending several hours looking around on this, I have one fact and one conclusion. Unlike Vietnamese or Thai or Cyrillic or dozens of other languages, no code page for Khmer ever seems to have been established. If I'm wrong about this, I welcome correction by anyone in the community. And I con...
Unicode aspects
There are far more implications in internationalizing an application than have come up in my work, and Ramonsky did a good job of explaining them. Hopefully the OS will take care of a lot of this now. That post was written more than 3 years ago. [1] I'm interested at this point in the most minimal l...
Scripts
A more-experienced TextPad user and I were going over Unicode issues earlier this week and he brought up the matter of selecting the right script in the document class. Well, I had chosen a font that included only three choices: Western, Turkish and Vietnamese. None of these choices work for the Khm...
- Fri Dec 22, 2006 5:50 pm
- Forum: General
- Topic: Issues with character č
- Replies: 6
- Views: 265
- Sat Dec 16, 2006 9:11 pm
- Forum: General
- Topic: syntax folding
- Replies: 2
- Views: 449
Collapsing vs hiding
Anyone who works with marked-up text (HTML being just one example), especially hierarchical markup, finds it really convenient to be able to collapse any element. For instance, I often work with book-length manuscripts and so I collapse all the elements at the chapter level, except for the actual ch...
- Fri Dec 15, 2006 10:10 pm
- Forum: General
- Topic: Help requested in jumping to error, 2nd program
- Replies: 3
- Views: 176
'Second verse, same as the first!' More regex help requested
When I'm in TextPad, I transform some XML files using the MSXSL 4 XSLT engine. Here's what an error message looks like: Error occurred while parsing document. Code: 0xc00ce56d URL: file:///C:/Documents%20and%20Settings/sperbergr/My%20Documents/testing/state%20courts/US-AK-courts.xml Line: 13 Column:...
- Fri Dec 15, 2006 6:39 pm
- Forum: General
- Topic: Help requested in jumping to error, 2nd program
- Replies: 3
- Views: 176
That works
Thanks for straightening this out for me.
This regex works and jumps me to the right spot.
Thanks very much.
Roger Sperberg
This regex works and jumps me to the right spot.
Thanks very much.
Roger Sperberg
- Fri Dec 15, 2006 3:39 pm
- Forum: General
- Topic: Help requested in jumping to error, 2nd program
- Replies: 3
- Views: 176
Help requested in jumping to error, 2nd program
I have the XML parser RXP configured as a tool to check whether some XML or HTML I'm working with is well-formed. When I double-click on the line in the Command Results referring to the error location, the TextPad status line says, "Cannot jump to item under the cursor" Here's a sample err...
- Fri Dec 08, 2006 4:21 pm
- Forum: General
- Topic: Textpad companion program suggestions? Or new, improved TP5?
- Replies: 0
- Views: 224
Textpad companion program suggestions? Or new, improved TP5?
It's funny to me now, because when I first had people suggest Textpad to me, I dismissed it because it was XML-unaware and all we were doing in that department was edit XML files. Now I have a problem giving up Textpad because I like it so much. I was working with a 60MB file two months ago. It invo...