Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
16 crawler(s) on-line.
 115 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 amigakit:  1 hr 3 mins ago
 Hammer:  1 hr 53 mins ago
 Rob:  2 hrs 31 mins ago
 billt:  2 hrs 39 mins ago
 amigang:  2 hrs 50 mins ago
 OneTimer1:  2 hrs 52 mins ago
 agami:  3 hrs 16 mins ago
 matthey:  3 hrs 22 mins ago
 kolla:  3 hrs 30 mins ago
 Tuxedo:  4 hrs 38 mins ago

Software News   Software News : CygnusEd Pro 5 Update release
   posted by AndreasM on 23-Jan-2007 9:22:22 (3762 reads)
Today we release a Update for CygnusEd Pro 5 on our Page.



New features:

- When loading a file which is already present, CygnusEd now prompts you whether you want to load it again, activate the view into which the file has already been loaded, or cancel the operation.

- Mouse-wheel-assisted scrolling now accelerates the longer you turn the wheel.

- All requester windows (search & replace, text entry, number entry) are now resizable, and CygnusEd remembers their sizes.

- You can now search for text matching regular expressions instead of just for sequences of characters in the text. How regular expressions are constructed is described in the updated documentation.

- The new regular expression search also extends to the replacement text, which can use parts of the matching pattern.

- CygnusEd can now search and replace text in all currently open files instead of just within the view active at the time you opened the search requester window for.

- You can now make CygnusEd start searching for the text or regular expression you entered while you are entering it. This is called "live search". If CygnusEd cannot find what you were looking for, it will signal you briefly, and if could find something, the matching text will be highlighted.

- The area to search and/or replace text in can now be limited by the size of the currently highlighted block.

- The search can for text or regular expressions can now be made to ignore accents on characters.

- Through the use of special key words that appear in the first ten lines of a text file what CygnusEd should do after loading these files. You can change the view settings, the cursor position, the right margin, etc.

- You can now tell Ed where to put the cursor when loading a file into CygnusEd.

- The copy and paste feature in the text and search & replace requester windows no longer causes the current text to be replaced when you paste the clipboard contents.

- All file operations which can overwrite existing files no longer silently replace files but prompt you for confirmation.

- When loading an auto-save file, CygnusEd now shows you how large the original and the auto-save file is, and when each file was last changed.

- You can now copy or cut a text block and insert it with each line auto-indented like the line the cursor is on.

- How large the CygnusEd window is, and where it opens, can now be controlled from the command line.


Bugs fixed:

- OS4 final has (limited) memory protection, which clashed with CygnusEd and MetaMac because they could attempt to modify data in memory which was supposed to remain constant. This affected both loading of macro files and of the ARexx command list.

- Trying to centre a line of text could crash if the line was wider than what the right margin permitted.

- Ed will no longer attempt to load all files matching a pattern if the TrueMultiAssign patch is active.

- The size of the CygnusEd window no longer shrinks when you reopen it.

- In CygnusEd shifting out a single of text could fail to work.

- CygnusEd no longer deletes auto-save files by accident, mistaking them for something else.

- In CygnusEd cut & paste operations that are likely to be undoable due to memory shortage no longer proceed as usual but require a confirmation from the user.

- The auto-indent settings are now saved in the configuration file.

- The mouse-wheel-assisted scrolling operations can no longer end up getting recorded as macro events.

http://cygnused.apc-tcp.de
http://www.apc-tcp.de
    

STORYID: 3575
Related Links
· More about Software News
· News by AndreasM


Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
Hollywood APK Compiler 4.0 released
Printer Friendly Page  Send this Story to a Friend

PosterThread
Pierre55 
Re: CygnusEd Pro 5 Update release
Posted on 23-Jan-2007 12:36:01
#1 ]
Regular Member
Joined: 2-Apr-2005
Posts: 293
From: Quebec, Canada

Hi,

Thank you very much... Macros file load without problem, also CUT without a
scroll bar don't gave me a GR.

Good work!

Bye!

 Status: Offline
Profile     Report this post  
ssolie 
Re: CygnusEd Pro 5 Update release
Posted on 23-Jan-2007 15:56:13
#2 ]
Elite Member
Joined: 10-Mar-2003
Posts: 2755
From: Alberta, Canada

Thanks Olaf! I use CygnusEd 5 every single day so any updates are always appreciated.

Just needs some syntax highlighting... (friendly poke)


_________________
ExecSG Team Lead

 Status: Offline
Profile     Report this post  
olsen 
Re: CygnusEd Pro 5 Update release
Posted on 23-Jan-2007 20:50:38
#3 ]
Cult Member
Joined: 15-Aug-2004
Posts: 774
From: Germany

Quote:
Just needs some syntax highlighting...


Well, I know I'm going to regret this, but I have to say that syntax highlighting and folding is next. Aside from oddities in the ARexx interface, I've just about had it with the small features that could be tweaked or enhanced easily. It's time for the big stuff. I'm going to regret this because it's likely to take a while before this feature is going to work. The text display operations are what make CygnusEd what it is, and the syntax highlighting and folding are open-heart-surgery.

 Status: Offline
Profile     Report this post  
xeron 
Re: CygnusEd Pro 5 Update release
Posted on 23-Jan-2007 21:26:51
#4 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

I've never been a CygnusEd user, but looking at the featurelist, if you add syntax highlighting, you've got another sale from me


_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
ssolie 
Re: CygnusEd Pro 5 Update release
Posted on 23-Jan-2007 22:16:06
#5 ]
Elite Member
Joined: 10-Mar-2003
Posts: 2755
From: Alberta, Canada

@xeron
Quote:
I've never been a CygnusEd user, but looking at the featurelist, if you add syntax highlighting, you've got another sale from me...

I used to use folding back in the TurboText days but never really found it that useful in the end. But that syntax highlighting thang... that is the stuff dreams are made of.


_________________
ExecSG Team Lead

 Status: Offline
Profile     Report this post  
xeron 
Re: CygnusEd Pro 5 Update release
Posted on 23-Jan-2007 22:23:53
#6 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

Heh. Last time I used folding was in AMOS


_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
Samwel 
Re: CygnusEd Pro 5 Update release
Posted on 23-Jan-2007 23:38:30
#7 ]
Elite Member
Joined: 7-Apr-2004
Posts: 3404
From: Sweden

@olsen

I always used to use CygnusEd on my classic. Thanks for all your previous and
current work.

I have yet to find a need for it on my OS4 machine though. Because I don't use
it as my first computer anymore. But you can count me in for support buy anyway.
I bought your v4 upgrade about 7-8 years ago (I think), time just flies.


_________________
/Harry

[SOLD] µA1-C - 750GX 800MHz - 512MB - Antec Aria case

Avatar by HNL_DK!

 Status: Offline
Profile     Report this post  
ChrisH 
Re: CygnusEd Pro 5 Update release
Posted on 24-Jan-2007 17:52:15
#8 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

I've turned-off the "Live Search" feature, because it was annoying the hell out me, but I'm sure some people will love it! But I am really glad that the auto-indent option is now saved, because it means I can finally use it when I do programming.

I'm not keen on the idea of folding, but it'd be really cool of CygnusEd could implement a feature of the OPL editor used on Psions (not to mention many modern IDEs) : Provide a list of all procedures/methods, so that one can see what is available, and quickly jump to the one of interest. Obviously identification of procs/methods would have to be customisable to different programming languages, but then so would folding. Perhaps both could be implemented?

Last edited by ChrisH on 24-Jan-2007 at 05:52 PM.


_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
olsen 
Re: CygnusEd Pro 5 Update release
Posted on 24-Jan-2007 20:01:25
#9 ]
Cult Member
Joined: 15-Aug-2004
Posts: 774
From: Germany

Quote:
I've turned-off the "Live Search" feature, because it was annoying the hell out me, but I'm sure some people will love it!


I hope it will be useful. I thought about changing the GUI, so that the search & replace window could stay open all the time. That would have turned it into a non-modal requester, but the drawback is that it would be difficult to tell which view the search should happen in. The next best thing was to add this live-search feature, which allows you to test quickly if the search turns up something in the first place. That's quicker than answering the "didn't find what you were looking for" requester and reopening the search & replace window.

Thankfully, the good people who tested the editor reminded me of the drawbacks of live-search, which is why it became a configurable option and is not enabled all the time.

Quote:
But I am really glad that the auto-indent option is now saved, because it means I can finally use it when I do programming.


Try the new "Insert and indent" menu; copy & paste programming has never been so easy

Quote:
I'm not keen on the idea of folding, but it'd be really cool of CygnusEd could implement a feature of the OPL editor used on Psions (not to mention many modern IDEs) : Provide a list of all procedures/methods, so that one can see what is available, and quickly jump to the one of interest. Obviously identification of procs/methods would have to be customisable to different programming languages, but then so would folding. Perhaps both could be implemented?


I have seen such a feature. It's a bit difficult to implement since you have to have a full-blown parser running all the time, checking up after each editing operation. Tough call :-/

 Status: Offline
Profile     Report this post  
JCC 
Re: CygnusEd Pro 5 Update release
Posted on 25-Jan-2007 4:01:40
#10 ]
Regular Member
Joined: 15-Sep-2003
Posts: 254
From: NY/NJ, US

Thanks,

It's really appreciated because I use CygnusEd for coding, e-mail - almost everything except word-processing.

The only feature I'd really like to see added is a bottom scoll bar.
And maybe a hex mode, but now I'm getting greedy

Regards,
        JCC

 Status: Offline
Profile     Report this post  
xeron 
Re: CygnusEd Pro 5 Update release
Posted on 25-Jan-2007 8:21:19
#11 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

Quote:

I have seen such a feature. It's a bit difficult to implement since you have to have a full-blown parser running all the time, checking up after each editing operation. Tough call :-/


You could have a subtask (or even a subtask-per-view) running at a lower priority than the editor. Most of the time it would sit in a wait state, but wake up when you edit the code (and restart itself if it was in the middle of parsing). That way it wouldn't steal any cycles from the editing tasks. If it ever gets all the way through parsing without an editing operation interrupting it, it passes its findings back to the editor task to display the procedures in its window.


_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
Jose 
Re: CygnusEd Pro 5 Update release
Posted on 25-Jan-2007 17:36:50
#12 ]
Cult Member
Joined: 10-Mar-2003
Posts: 992
From: Unknown

"- You can now copy or cut a text block and insert it with each line auto-indented like the line the cursor is on..."

Does this mean each line's previous indentation is lost and equalled to the one of the line the cursor is on ? If so, wouldn't it be more usefull to raise the previous indentations by the amount that's on the destination line ? Hope this is how it works.


_________________

José

 Status: Offline
Profile     Report this post  
olsen 
Re: CygnusEd Pro 5 Update release
Posted on 25-Jan-2007 19:20:18
#13 ]
Cult Member
Joined: 15-Aug-2004
Posts: 774
From: Germany

It works like this:

- CygnusEd looks at the block to be inserted, checking how many spaces and tabs introduce each line.

- All lines are checked in order to figure out which leading sequence of blank space characters is common to all lines.

- CygnusEd then looks at how far the current line, which the cursor is placed on, has been indented and remembers the exact sequence of blank spaces introducing it.

- When the block is inserted, for each single line CygnusEd skips the sequence of blank spaces which is common to all lines, inserts the line indentation and the rest of the line.

This means that you can copy any block, with any indendation, from your source code, and paste it anywhere else, and CygnusEd will make sure that it fits the same level of indentation of where you pasted it.

 Status: Offline
Profile     Report this post  
ChrisH 
Re: CygnusEd Pro 5 Update release
Posted on 26-Jan-2007 9:33:11
#14 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

Quote:
I have seen such a feature. It's a bit difficult to implement since you have to have a full-blown parser running all the time, checking up after each editing operation. Tough call :-/

Hmmm, I guess that'd be (much) harder for a C-like language, but for AmigaE you just need to check for a line which starts with "PROC "...

Perhaps you could make the identification of C procedures "probabilistic". i.e. It has a guess that something looks like a procedure, but it can't be sure. I suppose it would work something like this:

Line starts with an identifier (i.e. not a number or symbol), followed by a space, followed by another identifier, followed by an open bracket. As I always end such a line with an opening curley brace, you could add that as an optional requirement.

Last edited by ChrisH on 26-Jan-2007 at 09:37 AM.


_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
Jose 
Re: CygnusEd Pro 5 Update release
Posted on 26-Jan-2007 19:24:38
#15 ]
Cult Member
Joined: 10-Mar-2003
Posts: 992
From: Unknown

@olsen
Yes, that's what I thought.
BTW good luck with the heart surgery :)

Last edited by Jose on 26-Jan-2007 at 07:25 PM.


_________________

José

 Status: Offline
Profile     Report this post  
ChrisH 
Re: CygnusEd Pro 5 Update release
Posted on 27-Jan-2007 13:15:54
#16 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@olsen
I am saddened to report that (like the auto indent feature before it) the new "Live Search" feature is NOT saved. Which means it gets turned on after each reboot (or full quit). Grrrr.

Also, the TrueMultiAssign work-around you added does not seem to work when I do this:
CEd:Ed someMultiAssignment:

P.S. I think Live Search annoys me because of the incredibly short delay before it uses what I've typed. So it ends-up changing the display in the middle of my typing/thinking (where I just happen to have paused for a minuscule period). Making the delay configurable would probably solve this.

Last edited by ChrisH on 27-Jan-2007 at 03:29 PM.


_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
ChaosLord 
Re: CygnusEd Pro 5 Update release
Posted on 29-Jan-2007 6:22:31
#17 ]
Cult Member
Joined: 4-Apr-2005
Posts: 782
From: Houston, Texas USA

@ChrisH

How is CED LiveSearch different from FireFox LiveSearch?


_________________
Wanna try a wonderfull magical Amiga strategy game?
Total Chaos AGA

 Status: Offline
Profile     Report this post  
ChaosLord 
Re: CygnusEd Pro 5 Update release
Posted on 29-Jan-2007 6:29:13
#18 ]
Cult Member
Joined: 4-Apr-2005
Posts: 782
From: Houston, Texas USA

Quote:
... I have to say that syntax highlighting and folding is next.

Hooray for folding!!

Sorry for my slow reply. I was on vacation.


_________________
Wanna try a wonderfull magical Amiga strategy game?
Total Chaos AGA

 Status: Offline
Profile     Report this post  
olsen 
Re: CygnusEd Pro 5 Update release
Posted on 30-Jan-2007 9:50:00
#19 ]
Cult Member
Joined: 15-Aug-2004
Posts: 774
From: Germany

Quote:
I am saddened to report that (like the auto indent feature before it) the new "Live Search" feature is NOT saved. Which means it gets turned on after each reboot (or full quit). Grrrr.


Shock, consternation, uproar: CygnusEd does not save the search options in the configuration file I should have checked that, and not assumed that CygnusEd would already do that. The configuration file will have to be extended in the next update.

Quote:
Also, the TrueMultiAssign work-around you added does not seem to work when I do this:


Hm... maybe Ed should check an environment variable to see if the multi assignment matching should be handled differently. The new Ed requires that you use the MATCHSINGLE option to make it stop after it has found the first non-wildcard match for a file. The documentation does not describe this in sufficient detail, I'm afraid For now I would recommend that you add an alias to your S:Shell-Startup, which could read something like "Alias Ed Ed MATCHSINGLE []".

Quote:
I think Live Search annoys me because of the incredibly short delay before it uses what I've typed. So it ends-up changing the display in the middle of my typing/thinking (where I just happen to have paused for a minuscule period). Making the delay configurable would probably solve this.


The delay is about half a second. Fast typing generally does not trigger it, but making the delay configurable should satisfy everybody

 Status: Offline
Profile     Report this post  
olsen 
Re: CygnusEd Pro 5 Update release
Posted on 30-Jan-2007 9:52:40
#20 ]
Cult Member
Joined: 15-Aug-2004
Posts: 774
From: Germany

Quote:
How is CED LiveSearch different from FireFox LiveSearch?


In Firefox the search feature integrates with the main window, whereas in CygnusEd it's an option for the (modal) search requester window. Also, the search does not start and adapt as you type, but you have to pause for a tick for the search to pick up what you typed and start looking for a match. The highlighting is also a bit different, owing to the circumstances.

 Status: Offline
Profile     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle