Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> Then the solution is just to add the subdir info in the
Abdelrazak> tabs. Now that you are a master with this code JMarc, you
Abdelrazak> could probably add this? ;-)
I'll try to have a look. It is not trivial though, because we needs an
algorithm to decide which subdirs we want to keep.
I'd say at least the firs
What I'd like
actually is to display foo/bar/file.lyx when the file is in
$lyxdir/foo/bar/file.lyx. So we would see doc/Intro.lyx or
doc/fr/Intro,lyx. Would that be OK?
Yes, seems OK to me. How is it done for the View submenu? I think both
lists should (ideally) share the same code.
Here is another proposal for the visual hint, I don't know if it
feasible of no:
1-a) Unix case: if the xxx.lyx document is in ~/, display ~/xxx (no need
for the extension).
1-b) Windows: if the xxx.lyx document is in "My Documents", display xxx
(no need for the extension).
2) if the last directory name is less than 4 chars, display it entirely:
yyyy/xxx
3) if the last directory name is more than 4 chars, display the last 3 char:
(...)yyy/xxx
4) if the document name is too long (max value to be determined), don't
display it fully:
yyyy/xxx...xxx
(...)yyy/xxx...xxx
JMarc