View Single Post
  #26  
Old 05-04-2011, 10:57 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,757
Quote:
Originally posted by mlwang
With "Enhanced full-text Search" enabled, the "match whole words" option is always checked and grayed out (i.e., the setting can't be changed). Or am I doing anything wrong?
No, that option isn't currently available with FTS enabled, and you must use *'s to achieve it. But we'll probably address this problem by enabling that option and adding *'s behind the scenes.
Quote:
I'd love to, except my script relies on a shareware editor (EmEditor) for its objects (mostly the selection object). I guess it can be modified to work with MS Word (using Word's selection object) but I haven't tried it.

In addition, the script is a quick hack put together in half an hour and tested only on a few test notes in my test database. I'm not sure if it'll work as expected for others. As an example, I found out during my test that UR sometimes stores the URL in a format like "![CDATA[http://...]". I've no idea what the "CDATA" notation is for, and tell my script to strip it. It might not be the wisest thing to do, and I've no idea what other special notations might go into that field.

Now, given the caveats above, do you still think it's suitable to be published in the Tips forum?
I could be helpful as-is. The CDATA sections are an XML construct (see http://en.wikipedia.org/wiki/CDATA) that will be used for text that contains markup characters. If you use an XML parser to work with the document, it should be handled transparently.
Reply With Quote