Ignore:
Timestamp:
Dec 30, 2012, 9:37:11 PM (12 years ago)
Author:
Andreas Schnellbacher
Message:
File:
1 edited

Legend:

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

    r2545 r2566  
    543543   call register_mousehandler( 1, 'CANCELDRAG', ' ')
    544544   refresh
    545 
    546 ; ---------------------------------------------------------------------------
    547 defc markword
    548    -- If arg(1) specified and > 0: Set cursor to pos of pointer.
    549    if arg(1) then
    550       'MH_gotoposition'
    551       unmark
    552    endif
    553    call pmark_word()
    554 
    555 ; ---------------------------------------------------------------------------
    556 defc marksentence
    557    -- If arg(1) specified and > 0: Set cursor to pos of pointer.
    558    if arg(1) then
    559       'MH_gotoposition'
    560       unmark
    561    endif
    562    call mark_sentence()
    563 
    564 ; ---------------------------------------------------------------------------
    565 defc markparagraph
    566    -- If arg(1) specified and > 0: Set cursor to pos of pointer.
    567    if arg(1) then
    568       'MH_gotoposition'
    569       unmark
    570    endif
    571    call mark_paragraph()
    572 
    573 ; ---------------------------------------------------------------------------
    574 defc extendsentence
    575    call mark_through_next_sentence()
    576 
    577 ; ---------------------------------------------------------------------------
    578 defc extendparagraph
    579    call mark_through_next_paragraph()
    580 
    581 ; ---------------------------------------------------------------------------
    582 defc marktoken
    583    -- If arg(1) specified and > 0: Set cursor to pos of pointer.
    584    if arg(1) then
    585       'MH_gotoposition'
    586    endif
    587 ;   if marktype() <> '' then
    588 ;      sayerror -279  -- 'Text already marked'
    589 ;      return
    590 ;   endif
    591    if find_token( startcol, endcol) then
    592       getfileid fid
    593 compile if WORD_MARK_TYPE = 'CHAR'
    594       call pset_mark(.line, .line, startcol, endcol, 'CHAR', fid)
    595 compile else
    596       call pset_mark(.line, .line, startcol, endcol, 'BLOCK', fid)
    597 compile endif
    598       'Copy2SharBuff'       /* Copy mark to shared text buffer */
    599    endif
    600 
    601 ; Moved defc findword to LOCATE.E
    602545
    603546; ---------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.