Changeset 2869 for trunk/src/netlabs/macros/modeexec.e
- Timestamp:
- Jan 14, 2018, 6:56:30 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/netlabs/macros/modeexec.e ¶
r2831 r2869 279 279 280 280 KeyPath = '\NEPMD\User\KeywordHighlighting\AutoRefresh' 281 refresh_on = NepmdQueryConfigValue( nepmd_hini,KeyPath)281 refresh_on = QueryConfigKey( KeyPath) 282 282 if refresh_on then 283 283 if loadstate then -- during file loading … … 291 291 292 292 KeyPath = '\NEPMD\User\KeywordHighlighting' 293 default_on = NepmdQueryConfigValue( nepmd_hini,KeyPath)293 default_on = QueryConfigKey( KeyPath) 294 294 295 295 getfileid fid … … 797 797 if loadstate then 798 798 KeyPath = '\NEPMD\User\KeywordHighlighting\AutoRefresh' 799 refresh_on = NepmdQueryConfigValue( nepmd_hini,KeyPath)799 refresh_on = QueryConfigKey( KeyPath) 800 800 if refresh_on then 801 801 CheckFlag = GetHiliteCheckFlag(Mode) … … 806 806 KeyPath = '\NEPMD\User\KeywordHighlighting' -- for default value if arg1 = 'DEFAULT' or empty 807 807 if arg1 = 'DEFAULT' then 808 on = NepmdQueryConfigValue( nepmd_hini,KeyPath)808 on = QueryConfigKey( KeyPath) 809 809 elseif arg1 = 0 then 810 810 on = 0 … … 1029 1029 universal loadstate 1030 1030 universal expand_on 1031 universal nepmd_hini1032 1031 arg1 = upcase(arg(1)) 1033 1032 if arg1 = '' | arg1 = 'DEFAULT' then 1034 1033 KeyPath = '\NEPMD\User\SyntaxExpansion' 1035 on = NepmdQueryConfigValue( nepmd_hini,KeyPath)1034 on = QueryConfigKey( KeyPath) 1036 1035 if on then 1037 1036 ExpandMode = GetMode() … … 1076 1075 universal loadstate 1077 1076 universal matchtab_on 1078 universal nepmd_hini1079 1077 arg1 = upcase(arg(1)) 1080 1078 if arg1 = '' | arg1 = 'DEFAULT' then 1081 1079 KeyPath = '\NEPMD\User\Keys\Tab\MatchTab' 1082 on = NepmdQueryConfigValue( nepmd_hini,KeyPath)1080 on = QueryConfigKey( KeyPath) 1083 1081 elseif wordpos( arg1, '0 OFF') then 1084 1082 on = 0 … … 1102 1100 defc SetEditOptions 1103 1101 universal default_edit_options 1104 universal nepmd_hini1105 1102 arg1 = upcase(arg(1)) 1106 1103 if arg1 = '' | arg1 = 'DEFAULT' then 1107 1104 KeyPath = '\NEPMD\User\Edit\DefaultOptions' 1108 new = NepmdQueryConfigValue( nepmd_hini,KeyPath)1105 new = QueryConfigKey( KeyPath) 1109 1106 else 1110 1107 new = arg(1) … … 1118 1115 defc SetSaveOptions 1119 1116 universal default_save_options 1120 universal nepmd_hini1121 1117 arg1 = upcase(arg(1)) 1122 1118 if arg1 = '' | arg1 = 'DEFAULT' then 1123 1119 KeyPath = '\NEPMD\User\Save\DefaultOptions' 1124 new = NepmdQueryConfigValue( nepmd_hini,KeyPath)1120 new = QueryConfigKey( KeyPath) 1125 1121 else 1126 1122 new = arg(1) … … 1134 1130 defc SetSearchOptions 1135 1131 universal default_search_options 1136 universal nepmd_hini1137 1132 arg1 = upcase(arg(1)) 1138 1133 if arg1 = '' | arg1 = 'DEFAULT' then 1139 1134 KeyPath = '\NEPMD\User\Search\DefaultOptions' 1140 new = NepmdQueryConfigValue( nepmd_hini,KeyPath)1135 new = QueryConfigKey( KeyPath) 1141 1136 else 1142 1137 new = arg(1) … … 1214 1209 ; Any following specifications, separated by a period are ignored. 1215 1210 defc SetTextFont 1216 universal nepmd_hini1217 1211 universal lastfont 1218 1212 arg1 = upcase(arg(1)) … … 1223 1217 --endif 1224 1218 KeyPath = '\NEPMD\User\Fonts\Text' 1225 new = NepmdQueryConfigValue( nepmd_hini,KeyPath)1219 new = QueryConfigKey( KeyPath) 1226 1220 else 1227 1221 new = arg(1) … … 1256 1250 --universal appname 1257 1251 --universal app_hini 1258 universal nepmd_hini1259 1252 arg1 = upcase(arg(1)) 1260 1253 if arg1 = '' | arg1 = 'DEFAULT' then … … 1266 1259 --endif 1267 1260 KeyPath = '\NEPMD\User\Colors\Text' 1268 new = NepmdQueryConfigValue( nepmd_hini,KeyPath)1261 new = QueryConfigKey( KeyPath) 1269 1262 else 1270 1263 new = ConvertColor( arg(1)) … … 1285 1278 --universal appname 1286 1279 --universal app_hini 1287 universal nepmd_hini1288 1280 arg1 = upcase(arg(1)) 1289 1281 if arg1 = '' | arg1 = 'DEFAULT' then … … 1295 1287 --endif 1296 1288 KeyPath = '\NEPMD\User\Colors\Mark' 1297 new = NepmdQueryConfigValue( nepmd_hini,KeyPath)1289 new = QueryConfigKey( KeyPath) 1298 1290 else 1299 1291 new = ConvertColor(arg(1))
Note:
See TracChangeset
for help on using the changeset viewer.