Changeset 2566 for trunk/src/netlabs/macros/mouse.e
- Timestamp:
- Dec 30, 2012, 9:37:11 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/netlabs/macros/mouse.e ¶
r2545 r2566 543 543 call register_mousehandler( 1, 'CANCELDRAG', ' ') 544 544 refresh 545 546 ; ---------------------------------------------------------------------------547 defc markword548 -- If arg(1) specified and > 0: Set cursor to pos of pointer.549 if arg(1) then550 'MH_gotoposition'551 unmark552 endif553 call pmark_word()554 555 ; ---------------------------------------------------------------------------556 defc marksentence557 -- If arg(1) specified and > 0: Set cursor to pos of pointer.558 if arg(1) then559 'MH_gotoposition'560 unmark561 endif562 call mark_sentence()563 564 ; ---------------------------------------------------------------------------565 defc markparagraph566 -- If arg(1) specified and > 0: Set cursor to pos of pointer.567 if arg(1) then568 'MH_gotoposition'569 unmark570 endif571 call mark_paragraph()572 573 ; ---------------------------------------------------------------------------574 defc extendsentence575 call mark_through_next_sentence()576 577 ; ---------------------------------------------------------------------------578 defc extendparagraph579 call mark_through_next_paragraph()580 581 ; ---------------------------------------------------------------------------582 defc marktoken583 -- If arg(1) specified and > 0: Set cursor to pos of pointer.584 if arg(1) then585 'MH_gotoposition'586 endif587 ; if marktype() <> '' then588 ; sayerror -279 -- 'Text already marked'589 ; return590 ; endif591 if find_token( startcol, endcol) then592 getfileid fid593 compile if WORD_MARK_TYPE = 'CHAR'594 call pset_mark(.line, .line, startcol, endcol, 'CHAR', fid)595 compile else596 call pset_mark(.line, .line, startcol, endcol, 'BLOCK', fid)597 compile endif598 'Copy2SharBuff' /* Copy mark to shared text buffer */599 endif600 601 ; Moved defc findword to LOCATE.E602 545 603 546 ; ---------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.