I would recommend AMPL Studio.
Presentation: http://carisma.brunel.ac.uk/presentation/Banff_AMPL.pdf (Page 24, etc.)
More info: www.optirisk.co.uk/docs/manual/ampl.pdf
From: harr...@email.uc.edu
Reply-To: am...@googlegroups.com
To: "AMPL Modeling Language" <am...@googlegroups.com>
Subject: [AMPL 208] A better text editor for AMPL models
Date: Sun, 12 Feb 2006 12:55:22 -0800
Regards,
Ronald
Have you tried Zeus for Windows:
http://www.zeusedit.com/features.html
Note: Zeus is shareware (45 day trial).
> I would like something that highlights alternate lines in
> a different color, and that displays line numbers.
Unfortunately Zeus does not have an option to color alternate
lines in a different color, but it does have a line numbers
option and the syntax highlighting is easily configurable:
http://www.zeusedit.com/forum/viewtopic.php?t=236
> It sure would make debugging easier if I did not have to
> manually count line numbers.
Zeus does have an option where by the number of lines
selected is displayed in the status line. So you could use
this feature to do the line counting ;)
Jussi Jumppanen
Author: Zeus for Windows
Jose Rafael Avalos Muñoz, Ph.D Student
Department of Electrical & Computer Engineering
Power and Energy Systems Group
University of
Waterloo.
Ontario, Canada
Office: CPH 3373 Tel (519) 888-4567 ext: 8036
jrav...@thunderbox.uwaterloo.ca
Moreover, in Vim, you can get line numbers displayed in any buffer
using the command
:set number
and you can remove them using
:set nonumber
I also wrote a syntax highlighting mode for Emacs.
If you would like anything fancier in Vim or Emacs, the manuals are
excellent.
Dominique
Thanks. Yes, I only got around to this a year later!
Huge difference in productivity and legibility. Should have started with
this 2 years ago!
Thanks, Steven
Packfan wrote on 2/12/2006, 10:48 PM:
>
> Did you try Textpad with AMPL syntax highlighting? You can get the
> syntax highlighting file from http://www.textpad.com/add-ons/syna2g.html
>
--
On Apr 13, 9:44 am, "Steven Harrod" <a2s...@aol.com> wrote:
> Hello,
> It is a year later, and I decided to look at AmplStudio, but the website is empty! What happened, they go out of business?Rafael Avalos wrote on 2/13/2006, 7:51 PM:
>
> AmplStudio is definitely the best choice, however is a trial version just for 30 days, limited to 300 variables. I wonder how much the licence cost...It's good...
> Notepad++ is a free GNU public licence...it's very good, it doesn't have the actual AMPL intruction highlighting, but you can custumize the words you want to be highlighted. If you choose the Python as a language environment and then edit the default color setting for this one, you can get a nice AMPL interface, it also offers tap windows, so can have many xxxx.mod and xxxx.dat files open at the same time.http://notepad-plus.sourceforge.net/uk/site.htm
> At 05:55 PM 13/02/2006, you wrote:> Can anyone suggest a better text editor suitable for the
> > needs of writing large AMPL files?
> Have you tried Zeus for Windows:
> http://www.zeusedit.com/features.html
> Note: Zeus is shareware (45 day trial).
> > I would like something that highlights alternate lines in
> > a different color, and that displays line numbers.
> Unfortunately Zeus does not have an option to color alternate
> lines in a different color, but it does have a line numbers
> option and the syntax highlighting is easily configurable:
> http://www.zeusedit.com/forum/viewtopic.php?t=236
> > It sure would make debugging easier if I did not have to
> > manually count line numbers.
> Zeus does have an option where by the number of lines
> selected is displayed in the status line. So you could use
> this feature to do the line counting ;)
> Jussi Jumppanen
> Author: Zeus for Windows
>
> Jose Rafael Avalos Muñoz, Ph.D StudentDepartment of Electrical & Computer Engineering
> Power and Energy Systems Group
> University of Waterloo. Ontario, Canada
> Office: CPH 3373 Tel (519) 888-4567 ext: 8036jr...@thunderbox.uwaterloo.ca--
--
amplstudio.com seems to be "under construction". However, I think you
can find information about AmplStudio from the optirisk site
(http://www.optirisk-systems.com/).
Personally, I still use old-school emacs to do the job, but the
screenshots look interesting. I may have to take a look.
Cheers,
Carl Laird.
When I get a chance I'll see if I can collect suggestions for specialized AMPL
editors.
Bob Fourer
4...@ampl.com
> > 8036jrava...@thunderbox.uwaterloo.ca--