Changing mouse click text select in term windows

Minor nit/question -
When you click on text in the terminal window, it only selects up to a non-word character (i.e. it stops selecting at punctuation, so trying to click on Foo::Bar to select it all, it goes first to Foo (stopped by the ':') and then selects the entire line on the next click.
Most Linux flavors seem to go by whitespace - first click selects everything that is between whitespace, even if it includes non-alpha characters (thus you get Foo::Bar with one click); then the next click selects the whole line. Having gotten used to that, the Mac behavior is... annoying.
So - how does one change it? Can it be user-config'd?
Thanks for any assistance.

I have actually found out what the issue is. I have called a javascript method onblur of the text element which is present in the suggest region. This onblur method is interfering with the mouse click event of the auto complete suggestions shown. If i remove the onblur method, everything is working fine. I have simulated the issue in the html file present in the compressed folder attached herwith. In that i am actually throwing an alert on blur where as in real scenario i have some other functionalities to be handled on blur.
     For clarity i will explain the real scenario as well. When the user selects a suggestion from the auto complete div, the value will be placed in the text box and on blur of the text box, the dataset will be filtered based on the value in the text box.  Few pointers on this issue:
The on blur functionality does not interfere when we select a suggestion using down arrow in key board.
If i use mouse click to select then i have to wait for few milliseconds extra with the mouse clicked on the value before releasing it, so that the selected value is available in the textbox. Within this few milliseconds, the onblur function gets executed and then self.nodeClick is executed thus placing the value in the textbox. But forcing the user to keep the mouse clicked on the value for sometime will not sound good.
     Kindly advise as to how this issue could be handled.

Similar Messages

  • Less-mouse and text selection

    I needed to scroll man pages with a mouse so I compiled the less-mouse from the AUR .
    Unfortunately the ability to use mouse for text selection is now lost (comparing to regular 'less'). In regular less left-button-drag selects stream of text and ctrl-left-button-drag selects a block of text.
    I tried to look closely at the patch to try to filter back in the text selection but my knowledge of C just isn't up to it.
    Mouse clicks in less-mouse are putting escape sequences in the status line. To get rid of those I managed to add two lines in decode.c, so that the program now processes only wheel events:
    decode.c (patched) at line 934:
    if ((b & 0x60) != 0x60) // only if bit 6 is 1 which means no wheel event
    return (1); // stop processing current mouse event
    // *hoping* that vte or X or whoever parses it further?
    I'd very much like to hear the advice on how to reinstate the ability of 'less-mouse' to select text.
    ps. I tried to use w3m as a pager too, but as far as I could tell it doesn't have the ability to select text either.

    Vimpager allows scrolling man pages with the mouse (its in the repos ( community/vimpager )). Install it and add this to your .zshrc (or .bashrc if you use bash):
    export PAGER=vimpager
    alias less=$PAGER
    alias zless=$PAGER

  • Using Firefox 3.6 after a few mouse click/ keyboard input the firefox window is no more active, mouse click and keyboard input is inactive ; then I click on the taskbar and the keyboard is active again during a few click then it stops again etc.

    Using Firefox 3.6 after a few mouse click/ keyboard input the firefox window is no more active, mouse click and keyboard input is inactive ;
    to solve it I click on the taskbar and the keyboard is active again during a few click then it does not work any more and I click again on the task bar etc.
    after several repetitions, I have to call the task manager alt+del+ctrl, then come back to the firefox window to be able to use keyboard and mouse again

    Attaching the picture for the tab shape I want...

  • Single Click Text Select

    Hey all I have a Noneditable JTextArea and I want to make it so a line of text is selected with a single click instead of the double click it normally takes. Can this be done?

    Doesn't a double-click normally select a single word, and a triple-click selects a whole line? (this is Windows behaviour, don't know if JTextArea is the same).
    Regardless, I don't know of any methods you can call. You could scour the API. My solution would be to extend JTextArea, and override the mouseClicked() method. Have a look at the source code, and just change the number of clicks required.
    Hope this helps,
    Radish21

  • Changing mouse click behavior on JTable

    Hi everybody,
    The default behavior of a mouse click on a jTable is selection of the cell.
    I would like to change the behavior so when the user clicks once on the cell, the content can be marked and is ready to change. That would give the user the same feeling as Excel.
    Is there any way that I can do this without writing a new mouse/event handler?
    thanks,

    With a call to getSelectionModel() of JTable, you can get a reference to the ListeSelectionModel.
    This is in fact an instance of DefaultListSelectionModel, which allows you to set a new listener object using addListSelectionListener(ListSelectionListener l).
    All you have to do then is implement a custom ListSelectionListener which handles events as you want.
    Unfortunately there isnt going to be a way of avoiding writing a Listener, but this is how you would go about it.
    colr__

  • Change mouse pointer over selected text

    I have a JTextArea and i want to change the default mouse pointer to the arrow pointer when the user points to a selected text. Just like the way JCreator works.!
    Thanx

    Try this :
    Cursor textCursor = new Cursor(Cursor.TEXT_CURSOR);
    Cursor arrowCursor = new Cursor(Cursor.DEFAULT_CURSOR );
    textArea.setCursor(textCursor);
    textArea.addMouseMotionListener(new MouseMotionAdapter() {
         public void mouseMoved(MouseEvent e) {
              int location = textArea.viewToModel(e.getPoint());
              if (textArea.getSelectionStart()<=location && location<textArea.getSelectionEnd()) {
                   if (textArea.getCursor() != arrowCursor) {
                        textArea.setCursor(arrowCursor);
              else {
                   if (textArea.getCursor()==arrowCursor) {
                        textArea.setCursor(textCursor);
    });I hope this helps,
    Denis

  • Changing mouse click default to "open" (file/folder)

    My logitech mouse button1 defaults to "search" instead of "open' when I left click. i don't want to have to rt click first, then select "open". I want mouse default to be "open". any suggestions?

    Hi,
    I have just had the same problem, but fixed it!
    All I did was go to any folder, Tools, Folder Options, File Types and find "File Folder" in the list
    Then go to Advanced and select New
    Add one for Action - Open and add an application of Explorer.exe
    This sorted it!
    Hope this helps you
    Col

  • Mouse click control on non-LabVIEW Windows

    I'm using an ActiveX interface to talk to Opus spectrometer software. I can pass data around and start acquiring just fine but each time I run my acquisition LabVIEW software I get a little "ok" popup message from Opus that wants me to confirm acquisition. Is there anyway I can programmatically click this box so it will go away? It is running in a different process than LabVIEW so I didn't know if that kind of mouse control was possible.

    Just check out if pressing Returen (Enter) key closes the dialog?
    If yes then download the llb located at
    http://forums.lavag.org/index.php?act=attach&type=post&id=91
    in this llb file you will get the VI to simulate the keypress.
    then as you launch application wait for some time and then simulate keypress and go ahead
    Note: This may not be very robust solution as the keypress will not work if somebody clicks somewhere on screen and application in focus is changed.
    but its quick solution
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • Changing Mouse Click Behaviour

    Hi,
    I have a requirement where I am displaying list of LinkToURL elements pointing to some URLs.
    Now I want mouse left click to trigger action of "Save Target As" action. (Normally, this is present in "Right Click --> Save Target As")
    Is there any way in Web Dynpro code (or rather any way) to achieve this?
    Thanks and regards,
    Amey Mogare

    Hi Armin,
    Thank you for reply.
    Yes, FileDownload UI element is the one which will be useful for me.
    This URL which I am talking about is pointing to the file located on some other server on same network.
    So I need to first read byte stream from URL and then convert it to IWDResource?
    I was looking for any method that will help me to achieve this.
    Any idea which code might work?
    Thanks and regards,
    Amey Mogare

  • Cut and paste with mouse different text selections at the same time

    help me with this. I have tried  many hot keys to select different sentences on different paragraphs at the same time and i couldn't

    You can do this with several apps - LaunchBar being one:
    http://www.obdev.at/products/launchbar/index.html
    note the ClipMerge feature.

  • Automator - How do I: Mouse Click, Move Windows, and more

    Hello,
    I am attempting to create my own Automator programs and for a while I had some that worked nicely. I have recently been tweaking my iMac so that it can "think" on its own (by automator of course) and do things for me. However, I've run across a block with Mavericks (I believe it's due to Mavericks).
    1. How can I get Automator to register a mouse click? "Watch me do" does not seem to want to work for me at all. I also would prefer if it would just be a registered mouse click, but not actually use the mouse (I know this is possible) so that if I'm doing something and it runs, it won't disturb my mouse and I can keep working.
    2. How can I register a keyboard stroke? Same as above
    3. How can I have automator move windows? I have two monitors and there are times when I may want it to move a window from one mintor to another
    The following is a list of all the things I'm attempting to accomplish at the moment (with other things when I think of them) with automator (either through applications, folder actions, or ical actions):
    1. Register a mouse click at a given area or on a given element in a safari page
    2. Register a keyboard stroke in a given program (be able to focus on a program and then do the keystroke)
    3. Move windows from one location to another
    4. Full-screen and Un-full-screen iTunes at certain times of day
    5. Download all purchased items on iTunes that aren't on the computer (sometimes iTunes doesn't download stuff if it was downloaded on my MacBook Pro first)
    6. Automatically voice read reminders (that I've set in Reminders) each day at a given time (I can use loop to repeat it to make sure I hear it all)
    I'll think of more of course, but the mouse click, keyboard stroke, and moving windows is the big thing I'm trying to figure out how to do. Can anyone help?
    Also, I am not a computer tech. I am tinkering with this because it's fun and helpful, but an answer of "just use applescript" or "just use java" will likely just give me a headache. I know that it's going to be one of those codes, but I'm hoping someone has a "base" code that can be copied and pasted that's just a standard click that I can adjust for where I need to click and what process I need to click on.
    If there is an Action Pack that includes a "Register Mouse Click" and/or "Register Keyboard Stroke", then that would work great, but the only action packs for automator I've seen that work with Mavericks is for photoshop.

    You're asking for a lot in one post.  It would be better to break your requests down a bit. 
    For example, to deal with mouse clicks, you can use the Automator Action Run Shell Script with this python script:
    import sys
    import time
    from Quartz.CoreGraphics import *
    def mouseEvent(type, posx, posy):
            theEvent = CGEventCreateMouseEvent(None, type, (posx,posy), kCGMouseButtonLeft)
            CGEventPost(kCGHIDEventTap, theEvent)
    def mousemove(posx,posy):
            mouseEvent(kCGEventMouseMoved, posx,posy);
    def mouseclick(posx,posy):
            mouseEvent(kCGEventLeftMouseDown, posx,posy);
            mouseEvent(kCGEventLeftMouseUp, posx,posy);
    ourEvent = CGEventCreate(None);
    # Save current mouse position
    currentpos=CGEventGetLocation(ourEvent);
    # Click the "Apple"
    mouseclick(25, 5);  
    # 1 second delay       
    time.sleep(1);        
    # Restore mouse position
    mousemove(int(currentpos.x),int(currentpos.y))
    It will look like this in Automator:
    To drag something (i.e. a window, a file icon) from position 40,60 to 60,300:
    import time
    from Quartz.CoreGraphics import *
    def mouseEvent(type, posx, posy):
               theEvent = CGEventCreateMouseEvent(None, type, (posx,posy), kCGMouseButtonLeft)
               CGEventPost(kCGHIDEventTap, theEvent)
    def mousemove(posx,posy):
               mouseEvent(kCGEventMouseMoved, posx,posy);
    def mouseclickdn(posx,posy):
               mouseEvent(kCGEventLeftMouseDown, posx,posy);
    def mouseclickup(posx,posy):
               mouseEvent(kCGEventLeftMouseUp, posx,posy);
    def mousedrag(posx,posy):
               mouseEvent(kCGEventLeftMouseDragged, posx,posy);
    ourEvent = CGEventCreate(None);
    # Save current mouse position
    currentpos=CGEventGetLocation(ourEvent);
    # move mouse to upper left of screen
    mouseclickdn(40, 60);
    # drag icon to new location
    mousedrag(60, 300);
    # release mouse
    mouseclickup(60, 300);
    # necessary delay
    time.sleep(1);
    # return mouse to start positon
    mouseclickdn(int(currentpos.x),int(currentpos.y));
    For keystokes in AppleScript (which can be added to Automator with the Run Applescript Action) see: http://dougscripts.com/itunes/itinfo/keycodes.php

  • Mouse click not always recognized

    Adobe is slow to recognize my mouse clicks when selecting items. For example I will have selected 1.jpg, then get ready to work on 2.jpg, but I will have to click three to four times before 2.jpg will show in my properties window. Although I can see it is selected in the main window, any work I will do gets applied to 1.jpg. I do not have this issue with any other adobe products.

    How big are your images?
    Are you working with valid code?
    http://validator.w3.org/
    (='.'=)
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Mouse Click VS ListSelectionListener

    Dear All,
    As a new to JAVA GUI, I am asking the following questions. It could be a stupid questions. I am implementing a table which allows multiple selection.
    1.What's the different between the mouse click and ListSelectionListener for a table, which allows selection?
    2.If my table don't need to be modified or selected by the keyboard, will the ListSelectionListener brings any special benefit?
    3.Is ListSelectionListener more stable than the mouse click?
    Thank you very much for your help!

    Dear Hyayan,
    MouseEvent (to clicking) is a low level event. That means that each time you click the mouse on the component a mouse event will be fired even if the selected item was not changed.
    ListSelectionListener listens to ListSelectionEvent which is an event of a highter level. Whenever the selection was changed in the list this event will be fired.
    The advantages in ListSelectionEvent are:
    1. It is more specific for the list selection. If the user clicks inside the list but the selection was not changed the event will not be fired.
    2. It reactes to selection changes no matter what caused the change: mouse, keyboard or selections inside the code.
    It is usually better to use high level events rather than low level events. Use lower level events only when there is no high level event that satisfy you. Always check in which listeners a component supports in order to use the highest level events as possible.
    Best regards,
    Shai

  • Different mouse clicks & speed up mouse movements?

    Hello,
    Does Adobe Captivate recognise different mouse clicks better
    to say if it can record on RMB LMB and MMB clicks different
    effects? For example I wish to record Software Simulation project
    were on different mouse clicks (RMB, LMB, MMB) would have custom
    effects like "OrangeRing" for RMB " "GreenRing" for LMB etc?
    One more question plz: I found Published movie mouse
    movements are very slow can I make it move more fast without
    editing every slide separatelly?
    Thanks
    Ton

    Hello Tony,
    Whilst Captivate does recognize different mouse clicks (in so
    much as the application will capture a right-click menu) you cannot
    specify what type of mouse effect the application will use when you
    capture.
    What you can do is change the mouse click effect post
    capture. To do this and with a just captured project open carry out
    these steps:
    1. Select the slide that has a mouse pointer where you would
    like need to show a right-click action.
    2. Choose Slide > Mouse > Properties...
    3. In the Mouse Properties dialog make sure that the option
    "show mouse click" is selected and then show either the color or
    the custom effect you would like to use to represent the
    right-click operation.
    Naturally, at the very start of your movie/project you would
    need to inform the learner that each time they see the one of the
    effect you want them to right-click. You could also include some
    audio as well which would be important if you need to adhere to
    accessibility standards.
    In regard to your second question, in most cases you will
    find that you get the best result if you adjust the mouse timing
    using the Timeline.
    That said if you own a copy of Adobe Captivate 2 you can
    change the mouse Display and Appear After settings globally via the
    Mouse Properties dialog. Personally, for mouse movement I would not
    recommend this. Anyway here are the steps to carry that out.
    1. Select any slide that has a mouse pointer present.
    2. Choose Slide > Mouse > Properties...
    3. Click the Timing tab
    4. Change the Display time and Appear After values
    5. Click the Settings button
    6. Choose the appropriate options from both Which properties
    and which slide categories
    7. Click OK.
    Note : You can also show the Mouse properties dialog by left
    clicking on mouse icon on any of the slides in the Filmstrip
    Regards,
    Mark

  • AS3: TextField - How do get rid of text select cursor

    SC3 - AS3
    How do we turn off the text select cursor?
    I have a button object that has dynamic text, and the hand
    cursor works fine outside of the text object but over the text
    object the cursor is changing to a text select cursor!
    I am setting selectable to false for the text field.

    Is your dynamic text field part of a button? I just created a
    test file with a dynamic text field set to not selectable and it is
    not showing the text cursor.
    Also, are you dynamically generating the text field or are
    you drawing it on the stage?

Maybe you are looking for