[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: astyle
From:       Matthias Hoelzer-Kluepfel <mhk () caldera ! de>
Date:       2001-06-12 8:32:13
[Download RAW message or body]

On Monday 11 June 2001 23:20, you wrote:
> I've just messed up a python file by accidentally hitting the
> Reformat source item - fortunately only a test file :-}
> Is it possible to integrate this into the undo/redo system?

Yes, this is on the todo list. The kwrite undo system is a bit, well, 
_strange_, so I didn't take the time to sort through it in the first run.

> And furthermore, what about letting the formatter test whether
> a file has the correct (C+++/Java) suffix and refuse to
> reformat other files?

Hm, this is from the code:

if (extension == ".h" || extension == ".c" || extension == ".java"            
     || extension == ".cpp" || extension == ".cc" || extension == ".C"        
         || extension == ".cxx" || extension == ".hxx")           
  enabled = true;

What was the name of your python file? I tested it with some files, and it 
seems to work fine here.


Bye,
Matthias.

-
to unsubscribe from this list send an email to kdevelop-devel-request@kdevelop.org \
with the following body: unsubscribe »your-email-address«


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic