WDSc / RDI Mouse Highlighting Issues.

Posted on 2011-05-10
Last Modified: 2012-08-14
We are using IBM Rational Developer for Power Systems Software Version 8.0.0 LPEX Editor for RPG programming.  

When I use the mouse to highlight a block of text, and then later try to highlight a new block of text elsewhere, the editor assumes that I want to extend the original block.  Quite annoying.  Double-clicking in a random area sometimes clears it, but seems arbitrary and unpredictable in its result.  It seems that the first highlight sets an anchor point which remains until a successful double-click clears it.  I suspect there is something in the preferences I can set to make it work more like every other editor I've ever worked with, but I haven't found it yet.  

I want each start of highlighting a block to be a fresh experience.  

(A google search found someone else who had the same problem, but there was no solution listed

Question by:iteealro
    LVL 34

    Accepted Solution

    The LPEX editor is incredibly configurable and extendable, so behavior is dependent on how you have it set up.

    What Block preference have you got set? (Preferences - LPEX Editor - Block).  This, to some extent controls selection behavior.  If you select STREAM, then when you move the cursor, the selection gets cleared automatically.

    By default, Alt + U will unselect any current text.

    Of, with the mouse, right-click, and select Deselect.

    You can also set up your own mouse actions or keyboard controls to deselect.

    Expand this topic and you'll find LPEX documentation:

    - Gary Patterson

    Author Closing Comment

    The block type was originally set to CHARACTER (which may have been set by 3rd party who installed RDi for us).  I had changed it to RECTANGLE as that is my preference for marking.  

    In my prior search within help for "block", "highlight", etc., I was not able to find what I needed.  Somehow the circled question mark at the bottom left of the PREFERENCES window escaped my attention until now.

    From STREAM help:  "Unlike the other marking modes, the cursor cannot be moved to another part of the file without deselecting a block of selected text.  Once text is selected, the next keyboard action will usually affect the entire selection of text.  For example, pressing a keyboard character will replace the entire selected text with that character, and pressing the Delete key will remove the entire selected block."

    That is exactly the behavior I was looking for, though I wish it were a separate parameter so that I could mark rectangles with the same behavior.

    Thanks for your response.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
    DECT technology has become a popular standard for wireless voice communication. DECT devices are not likely to be affected by other electronic devices and signals because they operate in a separate frequency-band.
    This video discusses moving either the default database or any database to a new volume.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the fileā€¦

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now