How do I tell Leo that, say, a .hpp file is C++? Leo is writing out
the '#--unknown-language--' comment delimiters in my .hpp file and
getting them right in the .cpp file.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
ljth...@gmail.com wrote:
How do I tell Leo that, say, a .hpp file is C++? Leo is writing out
the '#--unknown-language--' comment delimiters in my .hpp file and
getting them right in the .cpp file.
@thin somefile.hpp
@language c++
@tabwidth -4
@others
When I want to bring a new file into a leo project I use the following
convoluted procedure:
/Outline/Insert child
Then I change the name of the child node to
@auto existingfile
Then I select the child, then I
/File/readwrite/Read auto nodes
Which for some reason only reads the node
A couple of things which probably don't fall into the 'urgent or
annoying category', but nevertheless ...
- I've just done a full 'bzr checkout' and got revno 1990. But 'Help |
about Leo' still shows Leo 4.6 Beta 1, build 1.244, March 24, 2009'.
It would help bug reports etc. if this was
On Tue, Jun 2, 2009 at 4:57 AM, jkn jkn...@nicorp.f9.co.uk wrote:
A couple of things which probably don't fall into the 'urgent or
annoying category', but nevertheless ...
- I've just done a full 'bzr checkout' and got revno 1990. But 'Help |
about Leo' still shows Leo 4.6 Beta 1, build
On Tue, Jun 2, 2009 at 3:27 AM, James A. Donald jam...@echeque.com wrote:
When I want to bring a new file into a leo project I use the following
convoluted procedure:
/Outline/Insert child
Then I change the name of the child node to
@auto existingfile
Then I select the child, then I
On Tue, Jun 2, 2009 at 4:31 PM, Edward K. Ream edream...@gmail.com wrote:
Is there a better and safer way?
Yes. Just create an empty @auto node. Save the .leo file, then reload it.
It's arguable whether reopening the .leo file is a better way...
One thing that might be of interest here is
On Jun 2, 2:25 pm, Edward K. Ream edream...@gmail.com wrote:
[...]
I use the following settings (in myLeoSettings.leo) to switch colors in the
body pane depending on focus:
@string selected-background-color = #fdf5f5
A kind of pink, for when the body has focus
@string
Hmmm...I have an '@language cplusplus' above my @shadow nodes (I am using
the threading_colorizer btw). Is there some way to tell Leo that all files
of a given extension are a given type or to tell it to use the inherited
@language setting?
On Tue, Jun 2, 2009 at 3:13 AM, James A. Donald
On Tue, Jun 2, 2009 at 8:41 AM, Ville M. Vainio vivai...@gmail.com wrote:
On Tue, Jun 2, 2009 at 4:31 PM, Edward K. Ream edream...@gmail.com wrote:
Is there a better and safer way?
Yes. Just create an empty @auto node. Save the .leo file, then reload it.
It's arguable whether reopening
On Mon, Jun 1, 2009 at 5:44 PM, Edward K. Ream edream...@gmail.com wrote:
I notice that executing the example script doesn't make the command
available to the present commander. It would be nice to fix that.
Done in trunk.
I also added g.app.commanders() which returns a list of commanders
On Tue, Jun 2, 2009 at 6:44 PM, Kent Tenney kten...@gmail.com wrote:
I have been using Leo as 'command central' for my work, organizing
files I work with by placing them in @auto or @edit nodes.
I really like this system, however it doesn't scale well, as the number
of @file nodes increases,
Often, it' useful to decouple node creation from data processing. Case
in point is the read code the hash based speedup scheme I described
(and referred to again in previous thread!)
(for every instance of 'json' below, you can substitute hierarchical
python object. I'm thinking of json because
On Tue, Jun 2, 2009 at 8:09 PM, Ville M. Vainio vivai...@gmail.com wrote:
python object. I'm thinking of json because of interoperability
human-readablity of json vs. pickle).
Fringe idea: using json for uAs in .leo files for the same readability
reason. Please don't get stuck with this
On Tue, Jun 2, 2009 at 10:35 AM, Lucas Thode ljth...@gmail.com wrote:
Is there some way to tell Leo that all files of a given extension are a
given type or to tell it to use the inherited @language setting?
Yes. Edit the tables in
Code--Core classes--@thin leoApp.py--app.__init__-- define
On Tue, Jun 2, 2009 at 10:33 AM, jkn jkn...@nicorp.f9.co.uk wrote:
I use the following settings (in myLeoSettings.leo) to switch colors in
the
body pane depending on focus:
@string selected-background-color = #fdf5f5
A kind of pink, for when the body has focus
@string
On Tue, Jun 2, 2009 at 12:09 PM, Ville M. Vainio vivai...@gmail.com wrote:
Often, it' useful to decouple node creation from data processing. Case
in point is the read code the hash based speedup scheme I described
(and referred to again in previous thread!)
Thanks for these thoughts,
17 matches
Mail list logo