Changeset 2789


Ignore:
Timestamp:
Nov 11, 2017, 9:54:37 AM (7 years ago)
Author:
Andreas Schnellbacher
Message:
  • Reverted last revision, because it contains also other preliminary changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/netlabs/macros/keys.e

    r2788 r2789  
    11021102
    11031103      -- Check if .EX file exists
    1104       findfile ExFile, ThisKeyset'keys.ex', 'EPMPATH'
     1104      findfile ExFile, ThisKeyset'Keys.ex', 'EPMPATH'
    11051105      if rc then
    11061106         leave
     
    11081108
    11091109      -- Check if .EX file is linked
    1110       linkedrc = linked( ThisKeyset'keys.ex')
     1110      linkedrc = linked( ThisKeyset'Keys.ex')
    11111111      if linkedrc >= 0  then
    11121112         leave
     
    11141114
    11151115      -- Link .EX file
    1116       'Link quiet' ThisKeyset'keys.ex'
     1116      'Link quiet' ThisKeyset'Keys'
    11171117      --dprintf( 'KeysetCmdExists: Keyset "'ThisKeyset'Keys" linked, rc = 'rc)
    11181118
     
    13931393   CurAddKeyDefs  = QueryConfigKey( KeyPathSelected)
    13941394
    1395    if linked( AddKeyDefs'keys.ex') > 0 then
    1396       'unlink' AddKeyDefs'keys.ex'
     1395   if linked( AddKeyDefs'keys') > 0 then
     1396      'unlink' AddKeyDefs'keys'
    13971397   endif
    13981398
     
    20032003         -- Add ClosingChar only if there's a space, tab, line end
    20042004         -- 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
    20112007            fExpanded = 1
    20122008            call Process_Keys( OpeningChar''ClosingChar)
     
    22692265   call pset_mark( 1, .last, 1, length( textline( .last)), 'CHAR' , fid)
    22702266   'Copy2SharBuff'       -- Copy mark to shared text buffer
    2271 
    2272 defc Reflow2ReflowMargins
    2273    universal reflowmargins
    2274    if FileIsMarked() then
    2275       'ReflowMark' reflowmargins
    2276    else
    2277       'ReflowAll' reflowmargins
    2278    endif
    22792267
    22802268defc ReflowAll2ReflowMargins
Note: See TracChangeset for help on using the changeset viewer.