Changeset 2789
- Timestamp:
- Nov 11, 2017, 9:54:37 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/netlabs/macros/keys.e ¶
r2788 r2789 1102 1102 1103 1103 -- Check if .EX file exists 1104 findfile ExFile, ThisKeyset' keys.ex', 'EPMPATH'1104 findfile ExFile, ThisKeyset'Keys.ex', 'EPMPATH' 1105 1105 if rc then 1106 1106 leave … … 1108 1108 1109 1109 -- Check if .EX file is linked 1110 linkedrc = linked( ThisKeyset' keys.ex')1110 linkedrc = linked( ThisKeyset'Keys.ex') 1111 1111 if linkedrc >= 0 then 1112 1112 leave … … 1114 1114 1115 1115 -- Link .EX file 1116 'Link quiet' ThisKeyset' keys.ex'1116 'Link quiet' ThisKeyset'Keys' 1117 1117 --dprintf( 'KeysetCmdExists: Keyset "'ThisKeyset'Keys" linked, rc = 'rc) 1118 1118 … … 1393 1393 CurAddKeyDefs = QueryConfigKey( KeyPathSelected) 1394 1394 1395 if linked( AddKeyDefs'keys .ex') > 0 then1396 'unlink' AddKeyDefs'keys .ex'1395 if linked( AddKeyDefs'keys') > 0 then 1396 'unlink' AddKeyDefs'keys' 1397 1397 endif 1398 1398 … … 2003 2003 -- Add ClosingChar only if there's a space, tab, line end 2004 2004 -- or another closing char at current pos. 2005 if insert_state() then 2006 NextChar = substr( textline( .line), .col, length( ClosingChar)) 2007 else 2008 NextChar = substr( textline( .line), .col + length( OpeningChar), length( ClosingChar)) 2009 endif 2010 if NextChar = '' or NextChar = ' ' or NextChar = \9 or NextChar = ClosingChar then 2005 CurChar = substr( textline( .line), .col, length( ClosingChar)) 2006 if CurChar = '' or CurChar = ' ' or CurChar = \9 or CurChar = ClosingChar then 2011 2007 fExpanded = 1 2012 2008 call Process_Keys( OpeningChar''ClosingChar) … … 2269 2265 call pset_mark( 1, .last, 1, length( textline( .last)), 'CHAR' , fid) 2270 2266 'Copy2SharBuff' -- Copy mark to shared text buffer 2271 2272 defc Reflow2ReflowMargins2273 universal reflowmargins2274 if FileIsMarked() then2275 'ReflowMark' reflowmargins2276 else2277 'ReflowAll' reflowmargins2278 endif2279 2267 2280 2268 defc ReflowAll2ReflowMargins
Note:
See TracChangeset
for help on using the changeset viewer.