Hi all,
Made some moderately extensive changes to insert-file-name:
Prompt for a file name, then insert it at the cursor position.
This operation is undoable if done in the body pane.
The initial path is made by concatenating path_for_p() and the selected
text, if there is any, or any path like text immediately preceding the
cursor.
basically the behavior in the second para is new. path_for_p() is
calculated based on @path and @<file> nodes, starting with the location
of the .leo file.
No change in unit-test pass rate.
Doesn't work in headlines, didn't before either - I think it's intended
to, not a big deal.
I think it's much more useful, I can type
d = read.csv("~/n/p<insert-file-name>
and have it start in ~/n/proj/ instead of ~/.leo
Cheers -Terry
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.