Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [UR] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=23)
-   -   Comments on the new features (https://www.kinook.com/Forum/showthread.php?t=4611)

Smith-Corona 08-11-2010 02:58 PM

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!

quant 08-11-2010 03:33 PM

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.

$bill 08-11-2010 04:06 PM

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.

kinook 08-11-2010 04:53 PM

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

tfjern 08-12-2010 02:26 AM

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

Smith-Corona 08-12-2010 03:03 AM

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.

wordmuse 08-12-2010 08:50 AM

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

lascasas 08-12-2010 11:32 AM

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?

Luap777 08-12-2010 11:58 AM

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.

kinook 08-12-2010 12:42 PM

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.

kinook 08-12-2010 12:50 PM

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).

kinook 08-12-2010 12:54 PM

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

wordmuse 08-12-2010 03:46 PM

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

kinook 08-12-2010 05:16 PM

If you change the extension back to .html in UR after importing and then refresh, it should.

armsys 08-12-2010 06:19 PM

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


All times are GMT -5. The time now is 06:45 PM.


Copyright © 1999-2023 Kinook Software, Inc.