diff mde/lookup/Options.d @ 101:71f0f1f83620

Some path adjustments for windows (untested) and fonts. All types of option can be edited. paths: support for getting the full path for a font when just the file name is entered, in order to unify usage on windows and linux. paths: Used getSpecialPath for some windows paths; needs testing. Content: Moved line-editing code to abstract ValueContent class and added some conversion functions, so that any type of ValueContent can be edited as text.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sun, 16 Nov 2008 17:03:47 +0000
parents 49e7cfed4b34
children ba035eba07b4
line wrap: on
line diff
--- a/mde/lookup/Options.d	Sat Nov 15 17:39:14 2008 +0000
+++ b/mde/lookup/Options.d	Sun Nov 16 17:03:47 2008 +0000
@@ -124,7 +124,7 @@
     auto p = id in opts;
     if (p) {
         auto q = cast(`~VContentN!(T)~`) (*p);
-        if (q) q.v = parseTo!(`~T.stringof~`) (dt);
+        if (q) q.assignNoCB = parseTo!(`~T.stringof~`) (dt);
     }
 }`;
             } else