Kinook Software Forum

Go Back   Kinook Software Forum > Ultra Recall > [UR] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-11-2010, 02:58 PM
Smith-Corona Smith-Corona is online now
Registered User
 
Join Date: 05-12-2010
Posts: 27
Comments on the new features

hi,

just trying out the new features in 4.2. A couple of initial questions;

- the syntax highlighting. What languages does this support? I've tried pasting in some VBA, Python, Lua... nothing happens. Is it meant to pick it up automatically? Or is there something you have to switch on?

- really like the idea of an "anchor", especially when dealing with long Items where the relevant text is right down at the bottom, but I'm not sure how it's meant to work. All I can see is the option to make an internal link as usual - ie with alt-L, when I'm in Item Details. But what I link to from there is still an Item, not a place within an Item. I don't see where the anchor is meant to be.

All in all though, some nice additions here, and it's good to see UR being actively developed!
Reply With Quote
  #2  
Old 08-11-2010, 03:33 PM
quant's Avatar
quant quant is online now
Registered User
 
Join Date: 11-30-2006
Posts: 967
Re: Comments on the new features

yeah, I'm also often puzzled what new features really do, and I'm not novice here. Certainly not obvious from first reading. It would reeeeeealy help just to attach simple screenshot, and/or add 2-3 sentences of short explanation for each new feature/enhancement.
Reply With Quote
  #3  
Old 08-11-2010, 04:06 PM
$bill $bill is online now
Registered User
 
Join Date: 09-14-2006
Posts: 210
I need a bit more explanation on the anchor and editing features too.

Some helpful information is here
http://kinook.com/UltraRecall/Manual/editordialog.htm

Use syntax coloring editor for text files: If checked, a syntax coloring text editor will be used to edit imported plain text files. This can be useful for editing source code files and snippets for languages such as C++, C, C#, ASP, VBScript, JavaScript, XML, and Lua. In addition to syntax coloring, the text editor also provides code folding, auto-completion (Ctrl+Space), bookmarks, line numbers, and more.
Reply With Quote
  #4  
Old 08-11-2010, 04:53 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Regarding syntax highlighting, it supports C/C++, HTML/XML, INI, JavaScript, LUA, Pascal, Python, SQL, and VB/VBScript. The syntax scheme used is based on the extension of the imported file (i.e., .cpp => C++, .html => HTML, etc. -- the mappings are actually defined by the parent:file entries in the .schclass files under Editor\Schemas in the UR installation folder). Change the file extension of the imported document's URL attribute and refresh to change the syntax scheme.
http://www.kinook.com/UltraRecall/Ma...menteditor.htm

Regarding internal link anchors, to create one, either focus the DE pane (Ctrl+1) and copy (Ctrl+C) or with focus in the detail pane choose Edit | Copy Internal Link Anchor (Ctrl+Shift+C), then paste into another text item.
http://www.kinook.com/UltraRecall/Ma...nallinking.htm
Reply With Quote
  #5  
Old 08-12-2010, 02:26 AM
tfjern tfjern is online now
Registered User
 
Join Date: 10-09-2007
Posts: 132
See?

Well, Quant, Senior Member, Geek, didn't you once criticize those who complained too much about Kinook's frustratingly stubborn reluctance to offer user-friendly explanations (such as simple screen-shots, or, heaven forbid, videos)?

Check it out:

http://www.kinook.com/Forum/showthre...t=userfriendly
Reply With Quote
  #6  
Old 08-12-2010, 03:03 AM
Smith-Corona Smith-Corona is online now
Registered User
 
Join Date: 05-12-2010
Posts: 27
I think what I might have expected was something more by way of an announcement from Kinook. I only rarely check the Version Update thread, but I keep an eye on this one fairly often. There's some neat features in this update, they're worth a) blowing the trumpet about and b) explaining in some detail.

Or some links from the mention of the various new features to the corresponding sections in the manual.
Reply With Quote
  #7  
Old 08-12-2010, 08:50 AM
wordmuse wordmuse is online now
Registered User
 
Join Date: 10-11-2006
Posts: 482
If the file I want to import has a HTML variety of extension (htm, html, shtml), then URP treats it as a web page, and I can't see the underlying HTML code, let alone see it color coded.

I do like the fact that I can edit the web page directly. Very nice indeed. However, there definitely are times I would rather be noodling around in the weeds that is the code.

Is there a way to do that?

- Bal
Reply With Quote
  #8  
Old 08-12-2010, 11:32 AM
lascasas lascasas is online now
Registered User
 
Join Date: 11-19-2007
Posts: 29
Quote:
Originally posted by kinook
Regarding syntax highlighting, it supports C/C++, HTML/XML, INI, JavaScript, LUA, Pascal, Python, SQL, and VB/VBScript. The syntax scheme used is based on the extension of the imported file (i.e., .cpp => C++, .html => HTML, etc. -- the mappings are actually defined by the parent:file entries in the .schclass files under Editor\Schemas in the UR installation folder). Change the file extension of the imported document's URL attribute and refresh to change the syntax scheme.
http://www.kinook.com/UltraRecall/Ma...menteditor.htm
Love the syntax highlighting. Can it be extended to include PHP, Perl and other languages?
Reply With Quote
  #9  
Old 08-12-2010, 11:58 AM
Luap777 Luap777 is online now
Registered User
 
Join Date: 08-11-2010
Posts: 7
Syntax highlighting needs some work. It's flickery and slow with a Python file when I tried it and it crashed on a VB.NET file. (didn't display anything at first then gave message about error in ntdll). It's probably not something I'll use a lot, was just checking it out. I can already import HTML pages containing syntax-highlighted code if I need to.
Reply With Quote
  #10  
Old 08-12-2010, 12:42 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Quote:
Originally posted by wordmuse
If the file I want to import has a HTML variety of extension (htm, html, shtml), then URP treats it as a web page, and I can't see the underlying HTML code, let alone see it color coded.

I do like the fact that I can edit the web page directly. Very nice indeed. However, there definitely are times I would rather be noodling around in the weeds that is the code.

Is there a way to do that?

- Bal
To edit an HTML file in the syntax editor (rather than using the built-in web page editor), you would need to rename the file with another extension (i.e., .txt) before importing, then change the extension of the imported item's URL attribute to .html and refresh.
Reply With Quote
  #11  
Old 08-12-2010, 12:50 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Quote:
Originally posted by lascasas
Love the syntax highlighting. Can it be extended to include PHP, Perl and other languages?
It doesn't come with support for those languages, but see the Schemas\*.schclass and SyntaxEdit.ini files in the Editor subfolder of the UR installation folder. You could use those as a template to define other languages (the syntax editor is provided by a third-party component, which doesn't include any documentation on the schema file format itself).
Reply With Quote
  #12  
Old 08-12-2010, 12:54 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Quote:
Originally posted by Luap777
Syntax highlighting needs some work. It's flickery and slow with a Python file when I tried it and it crashed on a VB.NET file. (didn't display anything at first then gave message about error in ntdll). It's probably not something I'll use a lot, was just checking it out. I can already import HTML pages containing syntax-highlighted code if I need to.
I didn't notice any problems with those (tried a 40K .py file and 10K .vb file). Please send more details.
http://www.kinook.com/Forum/showthre...?threadid=3038
Reply With Quote
  #13  
Old 08-12-2010, 03:46 PM
wordmuse wordmuse is online now
Registered User
 
Join Date: 10-11-2006
Posts: 482
Quote:
Originally posted by kinook
To edit an HTML file in the syntax editor (rather than using the built-in web page editor), you would need to rename the file with another extension (i.e., .txt) before importing, then change the extension of the imported item's URL attribute to .html and refresh.
If I change it to .txt, I don't see any syntax highlighting. Should I?

May I suggest that you create a new extension, e.g., .htmlu, where URP would then know it's working with a HTML file. I just tested a file with a .htmlu extension, and it renders just fine in Firefox. So I could do my editing in URP and then easily preview my work.

- Bal
Reply With Quote
  #14  
Old 08-12-2010, 05:16 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
If you change the extension back to .html in UR after importing and then refresh, it should.
Reply With Quote
  #15  
Old 08-12-2010, 06:19 PM
armsys armsys is online now
Registered User
 
Join Date: 12-19-2007
Posts: 647
Quote:
Originally posted by kinook
You could use those as a template to define other languages (the syntax editor is provided by a third-party component, which doesn't include any documentation on the schema file format itself).
Can you kindly give us some hints/keywords to google around the syntax definition? Could you name the Syntax Editor? Thanks.
Armstrong
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:30 AM.


Copyright © 1999-2023 Kinook Software, Inc.