[kepler-dev] [Bug 2330] - Saving a workflow doesn't add .xml or .moml extenders

Matthew Brooke brooke at nceas.ucsb.edu
Thu Jan 26 10:15:40 PST 2006


Christopher Brooks wrote:
 >> This bug seems like the bug in wordpad or notepad where
 >> you can't save a file without .txt being added automagically.

Kind of off-topic, but may be useful to those who didn't know - if you 
want to save something from Notepad without the ".txt" being added, you 
just put double quotes around it in the Save As dialog- like this:

"MyClass.java"


Personally, I always replace the windows notepad with a lightweight 
alternative, and of the several I've tried, the one I like best is the 
freeware NotePad2:

http://www.flos-freeware.ch/notepad2.html

...which is more developer-oriented, without being over-complicated, and 
is very fast and lightweight. The only drawback I've found is that it 
doesn't handle *huge* files very well, but then neither does notepad. 
NotePad2 provides:

   - Customizable syntax highlighting:
     - HTML, XML, CSS, JavaScript, VBScript, ASP, PHP, CSS, Perl/CGI
     - C/C++, C#, Java, VB, Pascal, Assembler, SQL, Python, NSIS
     - INI, REG, INF, BAT, DIFF
   - Support for Unicode, UTF-8, Unix and Mac text files
   - Basic regular expression search and replace
   - Brace matching, auto indent, tabs as spaces etc...

and it can be used to replace notepad system-wide, by following the 
steps shown on this page (for a different application, but you get the 
idea):

http://www.liquidninja.com/metapad/faq.html#Q3

(MetaPad is also a great notepad replacement, but doesn't do syntax 
highlighting)

Hope this is of some use

m




bugzilla-daemon at ecoinformatics.org wrote:
> http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2330
> 
> cxh at eecs.berkeley.edu changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|RESOLVED                    |REOPENED
>          Resolution|FIXED                       |
> 
> 
> 
> ------- Additional Comments From cxh at eecs.berkeley.edu  2006-01-26 09:42 -------
> Hi Chad,
> My concern is that adding the filter to TableauFrame is the wrong place,
> since TableauFrame is the base class that is used by other classes that are
> not .xml or .moml files. 
> 
> For example, in Ptolemy, Do File -> New -> Text Editor
> Type some text
> Do File -> Save
> Change the name to README
> Save the file.
> The file is saved as README.xml
> 
> This does not seem quite right, perhaps we can put the "Add the .xml"
> code somewhere lower in the class hierarchy?  I'm reopening this bug
> pending a fix for this problem.
> 
> This bug seems like the bug in wordpad or notepad where you can't save a 
> file without .txt being added automagically.
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev

-- 

---------------------------------------------
Matthew Brooke, Ph.D.
Marine Sciences Research Building, Room #3407
University of California
Santa Barbara, CA  93106-6150
ph: (805) 893-7108   fx: 805-893-8062
brooke at nceas.ucsb.edu
---------------------------------------------


More information about the Kepler-dev mailing list