www.rjsoftware.se Forum Index www.rjsoftware.se
Discuss software found at the RJ Software site.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Version 6.10 Beta 1

 
Post new topic   Reply to topic   TextEd Homesite »  www.rjsoftware.se Forum Index -> Development - Beta Versions
View previous topic :: View next topic  
Author Message
Rickard Johansson
Site Admin


Joined: 19 Jul 2006
Posts: 1950

PostPosted: Sat Mar 06, 2010 12:21 pm    Post subject: Version 6.10 Beta 1 Reply with quote

New features in this version:

Alternative Font
An alternative font is a second font you can switch to, e.g. if you want to display the text using a fixed or proportional font.

* Set an alternative font for all file types in options.

* Select an alternative font in the view menu.

* Switch between fonts in view menu (or using keyboard shortcut).

TODO list
Added a TODO list to the code explorer tab. It will find comments like

// TODO
// NOTE

You have to use a line comment, there must be a space after the comment mark and the letters must be capitalized.

Search result context menu
Added a context menu in the search result view. It contains items to:

Load from file... (load a previously saved file)
Save to file... (save the result to an XML file)
Export to text file... (save the results to a plain text file)
Clear (clear the view)

Replace All Undo/Redo
Rewrote the functions to use much less memory. If you use replace all repeatedly, you may end up with a very large undo buffer in previous versions.

The difference with this new code is huge.

Select/Delete functions
Added several new select and delete functions.

Select:
- Sentence
- to begin of sentence
- to end of sentence

Delete:
- Sentence
- to begin of sentence
- to end of sentence

Also fixed select/delete to begin/end of line when using word wrap.

Nested comments
Fixed some issues with nested comments and made sure you can use comment identifiers that contain a line comment identifier.

E.g.

LineComment = '
CommentStart = '*
CommentEnd = *'

Auto Complete and Tag Complete Variables
You can now define variables when creating completion items in a syntax file.

E.g.
In the syntax editor we can add the following items to the auto complete section:

@myVar1
- Item 1
- Item 2
- Item 3

@myVar2
- Item 1
- Item 2

MyClass1.
- @myVar1
- @myVar2
- Item 6
- Item 7

Spell check dialog
Tags are now ignored when using the spell check dialog. attributes in XML tags are still checked.

New script object (WStrings)
This object can be used to store WideStrings (Unicode). It's basically a normal string list but uses WideStrings instead of ANSI strings.

---

Feedback on new features are welcome, but I may not add anything until the next major release.

The help file has not been updated in this beta version.
Back to top
View user's profile Send private message Send e-mail
pjj



Joined: 13 Oct 2009
Posts: 119
Location: Kraków, Poland

PostPosted: Sat Mar 06, 2010 3:34 pm    Post subject: Reply with quote

Many thanks for the new build! Alas, TODO doesn't work for me at all Sad I inserted TODO notes into two files, but they are flickering in Code Explorer pane, so what I see is:
1) TODO note from one file
2) then it is quickly replaced (in the same line) by TODO from 2nd file
3) then it quickly disappears
4) then for a second nothing is displayed
then it starts all over again.

Two comments, though:
1) I don't use Code Explorer at all, therefore I would like to ask to move it to Project Manager, where it--I believe--belongs*), OR give an option to move it there
2) I don't know how you plan it, but I think that this tool would be the most usablepresenting TODO notes from all project files, and not just the active one; however, it'd be handy to have the current file's notes highlighted

*) but this, of course, would mean no TODOs for files from outside current project... which makes sense to me: you want to organize your code, use projects!

When I click (well, randomly, it goes to fast for me) on TODOs, line with TODO is being set as current; this is great; I understand the same would apply to the file (even though it's not open)? Or only open files would be scanned for TODOs? I'd preferred the second option (when project is being opened, its files may be scanned and TODOs displayed; those from files not open could be greyed out).

I'm (still) on WinXPSP3, RJ TE installed.
Back to top
View user's profile Send private message
Rickard Johansson
Site Admin


Joined: 19 Jul 2006
Posts: 1950

PostPosted: Sun Mar 07, 2010 3:59 pm    Post subject: Reply with quote

The TODO list on the code explorer tab is only supposed to display TODO's in the active document. The code explorer works the same way. It only display classes and functions from the active document.

I think a project wide TODO list (or Task list) should be part of a project wide class list (Class List Tab). Displaying classes, methods, functions and TODO's in all project files. This may be added in a later version. I don't think we have to chose just one implementation of the TODO list. We can have both.
Back to top
View user's profile Send private message Send e-mail
pjj



Joined: 13 Oct 2009
Posts: 119
Location: Kraków, Poland

PostPosted: Sun Mar 07, 2010 7:57 pm    Post subject: Reply with quote

Rickard Johansson wrote:
The TODO list on the code explorer tab is only supposed to display TODO's in the active document. The code explorer works the same way. It only display classes and functions from the active document.

So it's going to be something very similar to bookmarks, right? Well, I don't use them, anyway, and somehow never felt the need to.

Rickard Johansson wrote:
I think a project wide TODO list (or Task list) should be part of a project wide class list (Class List Tab). Displaying classes, methods, functions and TODO's in all project files. This may be added in a later version. I don't think we have to chose just one implementation of the TODO list. We can have both.

Since I use project-oriented approach, project-wide task list seems to better fit in my modus operandi, but I understand other people may act differently (and they do--I already mentioned I didn't use Code Explorer).

Anyway, TODO in its current state still doesn't work, hence my bug report.
Back to top
View user's profile Send private message
Walti



Joined: 06 Jul 2009
Posts: 42
Location: Schweiz / Swiss / Swizerland

PostPosted: Sun Mar 07, 2010 10:09 pm    Post subject: Reply with quote

I love the TODO and NOTE but it ssems that it only works in php and other C-like syntax files it would be great if it works too for html and css files,
eg:
<!--
// TODO Test
-->

and

/*
// TODO Test
*/

THX Walti
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rickard Johansson
Site Admin


Joined: 19 Jul 2006
Posts: 1950

PostPosted: Mon Mar 08, 2010 3:53 pm    Post subject: Reply with quote

1. I've fixed the TODO list issue. The list wasn't updated properly when you had more than one file opened.

2. All comment types can now be used with TODO's in your source.

E.g.
Code:
// TODO


E.g.
Code:
/* TODO

*/


E.g.
Code:
<!-- TODO

-->


Just note that TODO, or NOTE, must be on the same line as the start comment identifier.

E.g.
Code:
/*
TODO

*/


wont work.
Back to top
View user's profile Send private message Send e-mail
jwayne



Joined: 08 Sep 2009
Posts: 21

PostPosted: Mon Mar 08, 2010 6:47 pm    Post subject: slow menu scrolling & other delays Reply with quote

1) Startup seems a bit slower.
2) Major issue with menu delays. After closing a file (and sometimes after opening one), there is a noticeable delay before the menu works. Same thing after closing Tools, Options.
3) Scrolling between top-level menu items (File, Edit, Search...) also has some delay problems; the new menu selected is drawn before the previous one disappears.

Going back to 6.0.
Back to top
View user's profile Send private message
pjj



Joined: 13 Oct 2009
Posts: 119
Location: Kraków, Poland

PostPosted: Mon Mar 08, 2010 10:16 pm    Post subject: Re: slow menu scrolling & other delays Reply with quote

jwayne wrote:
1) Startup seems a bit slower.

I can confirm this, alas. Perhaps not the startup of the program itself, but opening files from the project (top menu). Sometimes after opening all files RJ TE freezes for up to 5 seconds, and part of Project menu is still visible over the toolbar.

Another delay: while closing the program, each file is being closed separately and it takes some two--three seconds; however, closing whole project is done instantly (after hitting OK on "Close all open files?" message box). With many opened files it is faster to close the project first, and then RJ TE.

jwayne wrote:
3) Scrolling between top-level menu items (File, Edit, Search...) also has some delay problems; the new menu selected is drawn before the previous one disappears.

Confirmed, it's a tad awkward.

jwayne wrote:
Going back to 6.0.

Staying with beta: always of the edge! Twisted Evil
Back to top
View user's profile Send private message
H.Seldon



Joined: 21 May 2009
Posts: 51

PostPosted: Tue Mar 09, 2010 2:31 am    Post subject: Reply with quote

Not noticing any problems mentioned above. Startup, menu opening, file opening/closing all appear to be as fast as 6.0 to me. Also, /hex switch now works from command line. Thanks!
Back to top
View user's profile Send private message
pjj



Joined: 13 Oct 2009
Posts: 119
Location: Kraków, Poland

PostPosted: Tue Mar 09, 2010 7:04 am    Post subject: Reply with quote

I assume you're on Vista x64, maybe that's why?
Back to top
View user's profile Send private message
H.Seldon



Joined: 21 May 2009
Posts: 51

PostPosted: Tue Mar 09, 2010 8:05 am    Post subject: Reply with quote

Actually, I'm running it on 2 machines. One is 2.4 GHz quad-core, Vista x64. The other is a single 1.8 GHz Pentium 4, XP SP3. On both machines, I see no significant difference in speed between versions 6.0 and 6.1 beta. On the Vista machine, it takes about 3 sec. to open Texted the first time, and about 1.5 sec. after that. On the XP machine, it takes about 5 sec. the first time, and about 3 sec. after that. Menu opening/switching is very fast on both machines. Opening projects appears the same to me between versions as well.
Back to top
View user's profile Send private message
Rickard Johansson
Site Admin


Joined: 19 Jul 2006
Posts: 1950

PostPosted: Tue Mar 09, 2010 10:23 am    Post subject: Reply with quote

I don't see this issue either running on Windows 7 x32. It is a debug version though, containing an exception trapper that does slow things down a bit.
Back to top
View user's profile Send private message Send e-mail
jwayne



Joined: 08 Sep 2009
Posts: 21

PostPosted: Wed Mar 10, 2010 3:40 pm    Post subject: Reply with quote

Installed on my Windows 7 (32-bit) machine, and do not see the same problems as I mentioned earlier (XP Pro pc.) I'll see what happens when I do a clean install (I usually just run the setup and let it replace previous version files) on the problem PC.
Back to top
View user's profile Send private message
jwayne



Joined: 08 Sep 2009
Posts: 21

PostPosted: Wed Mar 10, 2010 6:20 pm    Post subject: Reply with quote

I did a clean reinstall after ensuring that all old components were removed. The problem has not recurred so I will assume that it was due to some conflict with files from multiple versions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.rjsoftware.se Forum Index -> Development - Beta Versions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group