Highlight word in a script when selecting a text

Hi,
Is there a setting I can configure so that when I select a word in a script, it will highlight in all occurances in rest of the document? Similar to notepad++ does in green when you select a word?
Cheers.
Using 3.2.20.09

Hi,
You may have noticed the Edit -> Find... dialog (Ctrl-F in a worksheet or editor) contains the option Highlight All Occurrences. If that option is not grayed out and you can actually check it off, then it will do what you want. Highlighting a word before opening the Find dialog automatically makes it the Text to Search For.
Unfortunately Highlight All Occurrences seems to be grayed out in all current or older SQL Developer releases I have seen. I believe it is fixed in the next release.
Regards,
Gary
SQL Developer Team

Similar Messages

  • Possible Bug when selecting the "text" tab on a Line Chart

    Thought I would pass this on.  Not sure if it has been logged yet or not.  Sometimes when building a line chart, the properties field locks up when I try and select the "text" tab.  The dialog boxes in the "text" tab do not show up and the "layout" tab is also highlighted.  I do not know what causes this, but it has happened to me numerous times.  The only solution is to totally delete the line chart and start all over.  It may be related to copying and pasting.  I set up a chart the way I need it and then copy/paste it rather than making all the changes on a default settings chart when I need another chart.
    Stan

    Hi Stan,
    Are you encountering this problem in the RTM version or SP1?
    Can you list the exact steps to reproduce this problem in the most simple case?
    Example:  add line chart, bind to data, copy, paste, click on text tab...............
    Thanks,
    Gerrit

  • JTextArea artifacts when selecting/deselecting text

    I just bumped up against a font rendering issue with JTextArea. I have no doubt that it's a bug, but does anyone know of a workaround?
    Run the program below and select/deselect text by double-clicking words. The text is painted in a different location when selected and deselected. Try selecting by dragging the mouse or pressing shift and left/right arrow keys -- same problem, but the actual pixel location of the artifacts sometimes differs depending on the selection start and end, and the way the text was selected (keyboard/mouse drag/double click).
    Now try selecting the last word ("dog") by double clicking.import java.awt.Font;
    import java.awt.font.TextAttribute;
    import java.util.HashMap;
    import java.util.Map;
    import javax.swing.*;
    public class TextAreaProblem {
      public static void main(String[] args) throws Exception {
        SwingUtilities.invokeLater(new Runnable() {
          @Override
          public void run() {
            new TextAreaProblem().makeUI();
      public void makeUI() {
        Map<TextAttribute, Object> attributes = new HashMap<TextAttribute, Object>();
        attributes.put(TextAttribute.FAMILY, "Arial");
        attributes.put(TextAttribute.SIZE, 36.0);
        attributes.put(TextAttribute.POSTURE, TextAttribute.POSTURE_OBLIQUE);
        attributes.put(TextAttribute.TRACKING, TextAttribute.TRACKING_LOOSE);
        Font font = Font.getFont(attributes);
        font = font.deriveFont(attributes);
        final JTextArea textArea = new JTextArea("The quick brown fox jumps over the lazy dog.");
        textArea.setFont(font);
        textArea.setLineWrap(true);
        textArea.setWrapStyleWord(true);
        JFrame frame = new JFrame();
        frame.add(new JScrollPane(textArea));
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(850, 200);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Users\Darryl>java -version
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)Any tips for a workaround will be much appreciated.
    Thanks, Darryl

    The fix using System.setProperty worked 100% for all font and attribute combinations I tried -- thanks again.
    2) Does it work to set the property after the GUI is already created and shown? (shall test that myself in a few hours, but would be nice to know earlier :)No. However, you may set this property as a component client property (on the JTextComponent), but before that component is made visible.This didn't work for me. I tried both putClientProperty and getDocument().putProperty, as suggested in the other thread. What did I miss?import java.awt.Font;
    import java.awt.font.TextAttribute;
    import java.util.HashMap;
    import java.util.Map;
    import javax.swing.*;
    public class TextAreaProblem {
      public static void main(String[] args) throws Exception {
        //System.setProperty("i18n", Boolean.TRUE.toString());
        SwingUtilities.invokeLater(new Runnable() {
          @Override
          public void run() {
            new TextAreaProblem().makeUI();
      public void makeUI() {
        Map<TextAttribute, Object> attributes = new HashMap<TextAttribute, Object>();
        attributes.put(TextAttribute.FAMILY, "Arial");
        attributes.put(TextAttribute.SIZE, 36.0);
        attributes.put(TextAttribute.TRACKING, TextAttribute.TRACKING_LOOSE);
        attributes.put(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON);
        attributes.put(TextAttribute.STRIKETHROUGH, TextAttribute.STRIKETHROUGH_ON);
        Font font = Font.getFont(attributes);
        font = font.deriveFont(attributes);
        final JTextArea textArea = new JTextArea("The quick brown fox jumps over the lazy dog.");
        textArea.setFont(font);
        textArea.setLineWrap(true);
        textArea.setWrapStyleWord(true);
        // tried either or both -- didn't help
        textArea.getDocument().putProperty("i18n", Boolean.TRUE.toString());
        textArea.putClientProperty("i18n", Boolean.TRUE.toString());
        JFrame frame = new JFrame();
        frame.add(new JScrollPane(textArea));
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(850, 200);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
    }Darryl
    edit Setting this property seems to remove the ability to render underlined and strikethrough attributes. Changed the code above to add these. When "i18n" is set, they are ignored.
    edit2 GlyphPainter2 also doesn't appear to support foreground/background colors and swap_colors. It's beginning to look like whoever wrote that class solved a single problem of cumulative integer math error but introduced several others. Or maybe just didn't reimplement the features that weren't inherited..
    Edited by: DarrylBurke on Sep 8, 2010 5:13 AM

  • How do you have a cell highlight momentarily and fade out when selected?

    I've noticed that in some apps, when the user selects a table view cell, it will momentarily highlight, but the highlight will immediately fade out (i.e. you can tell that the cell has been highlighted, but the highlight doesn't stay -there is just a checkmark).
    When I select a cell, I want the selected cell to stay selected, but have the highlight fade out immediately. I can't see any options to achieve this effect. I've tried using the setHighlight edmethod to set the cell to be unhighlighted in the didSelectRowAtIndexPath method:
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
    UITableViewCell* tableViewCell = [tableView cellForRowAtIndexPath:indexPath];
    tableViewCell.accessoryType = UITableViewCellAccessoryCheckmark;
    [tableViewCell setHighlighted:NO animated:YES];
    However, this does not appear to work. I don't know if this is because I've done something wrong with trying to implement this code, or if the approach I'm attempting is not how you're supposed to go about it. If anybody has any ideas I'd be grateful.

    m_userName wrote:
    When I select a cell, I want the selected cell to stay selected, but have the highlight fade out immediately. I can't see any options to achieve this effect. I've tried using the setHighlight edmethod to set the cell to be unhighlighted in the didSelectRowAtIndexPath method:
    The Selected State and the Highlighted State are actually independent. I.e. a cell can be selected but not highlighted and vice versa. This can be confusing because, for a standard cell the appearance of the Highlighted State tracks the Selected State style (except the Highlighted State doesn't change the label text to white). But if you subclass a cell you can make the two states appear quite different.
    So the solution is to turn off the Selected State of the cell. This doesn't change which index path is selected. The table view keeps track of that, so turning off the Selected State of the cell only affects its appearance. However, whenever a selected index path is scrolled out of view and then back, the cell that's placed at that index path must be manually reset to it's Non-Selected state before it's displayed. This is because whenever a cell for the selected index path is obtained from tableView:cellForRowAtIndexPath:, the system will set that cell to the Selected State.
    // MyTableViewController.m
    #import "MyTableViewController.h"
    @implementation MyTableViewController
    #pragma mark Table view methods
    - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    return 1;
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 24;
    - (UITableViewCell *)tableView:(UITableView *)tableView
    cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    static NSString *CellIdentifier = @"Cell";
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
    cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault
    reuseIdentifier:CellIdentifier] autorelease];
    cell.textLabel.text = [NSString stringWithFormat:@"Row %d", indexPath.row];
    // set selection style to None here to prevent a flash when indexPath is selected
    cell.selectionStyle = UITableViewCellSelectionStyleNone;
    return cell;
    - (void)tableView:(UITableView *)tableView
    willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath {
    cell.selected = NO;
    BOOL isSelectedPath =
    [indexPath compare:[tableView indexPathForSelectedRow]] == NSOrderedSame;
    cell.accessoryType = isSelectedPath ?
    UITableViewCellAccessoryCheckmark : UITableViewCellAccessoryNone;
    // reset selection style here, after the cell has been set to the Non-Selected state
    cell.selectionStyle = UITableViewCellSelectionStyleBlue;
    - (void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell* tableViewCell = [tableView cellForRowAtIndexPath:indexPath];
    tableViewCell.accessoryType = UITableViewCellAccessoryNone;
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell* tableViewCell = [tableView cellForRowAtIndexPath:indexPath];
    tableViewCell.accessoryType = UITableViewCellAccessoryCheckmark;
    [tableViewCell setSelected:NO animated:YES]; // <-- setSelected instead of setHighlighted
    @end
    - Ray

  • When selecting SMS/Text Message iPHone 4 changes it to MMS message!

    I am having a weird problem with my iPhone 4 - when I select "text message" either by starting a text from the "messages" menu or from within "contacts" it sometimes (about 50% of the time) tries to change the message into an MMS. If I don't attach an image it won't allow me to send even though there is only text in the message.
    I can't seem to find a wqay to change it from an MMS to a standard text message so end up cutting the text, switching the phone off and on again and trying to paste the same text into a new message. This only works some of the time .. very curious to know if anyone else has this problem as I LOVE this phone but this particular thing is driving me crazy!! Thanks

    May be that it has become necessary to swap out one application module for another to initiate the SMS Application.
    With all the new features recently added by Apple such as the iTunes Store, Apple may have had to implement an application switching algorithm to keep the maximum memory available for videos, music, ringtones, etc. storage.
    Just one possible reason for a delay - application switchout (paging).

  • My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words.

    My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words and looks them up via dictionary. I currently have a wireless mouse connected and I am still having the same problems.
    I fee like I may have a virus or my laptop is perhaps being accessed remotely. All of the sharing options are unchecked.
    HELP PLEASE
    Very worried!!

    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and
         after the chime press and hold down the OPTION key until the boot manager screen appears.
         Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
         Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).
    4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).

  • Double clicking brings up selection box rather than highlighting words

    This is a bit of a trivial problem but it's making my editing quite difficult. I'm using Acrobat X 10, with Windows 7.
    Normally when I double click on some text, the word that I am double clicking on will become highlighted. This continues to be the case except for in one specific pdf document: now double clicking opens a selection box rather than highlighting text. If I single click I can highlight whatever text I want, but double clicking no longer highlight a particular word. This is very incumbersome for my annotating/highlighting technique. It only happens with this one pdf, any other pdf and the selection tool is back to normal.
    Any idea why this is happening for this one particular pdf, but none of the others, or any way that I can make it highlight words via double clicking again?
    Edit: On further inspection, the problem seems to be that for this particular document, acrobat reader cannot detect specifc words, only individual characters. When I highlight a sentence, normally the text highlighted would naturally jump to the end of the word, but here it will only start/stop where I begin and end dragging the cursor. I have used the Recognise Text tool, but this did not fix the problem as it said it had already recognised the text throughout the document.             

    Can you use the "Prompt" section of the Property Palette instead and leave Label as null. Prompts can be aligned to the left, but, without trying it in Forms 4.5, am unsure about your highlight issue.

  • Does anyone know if I can change the font on Word to 13? When I highlight the text and type in 13 it automaticall reverts back to 12. I have a MacBook Air.

    Does anyone know if I can change the font on Word to 13? When I highlight the text and type in 13 it automaticall reverts back to 12. I have a MacBook Air.

    hit command + A to highight all text, type in 13 in the font size box.

  • Ibooks hangs when I try to highlight words.

    When I preview my ibook, ibooks hangs when I try to highlight words only a page with an interactive image?

    I'm having the same problem, but my page does not have any interactives.
    When I try to preview the book on my mac instead of my IPad IBooks quits unexpectedly.

  • When I right click on a highlighted word I am prompted to search with AVG. I would prefer to search using an alternative search engine. How do I change this?

    When I right click on a highlighted word I am prompted to search with AVG. I would prefer to search using an alternative search engine. How do I change this?

    Reply: Cor-el > Excellent!! Thank You. In Tools, Add Ons, Extensions there was a Default Tab enntry which was the culprit. Am running W7 so the XP Tools, Options, Advanced , Use Hardware acceleration when available, wasn't of much help here, however I did fix a problem on another computer running XP with that same fix. Thank You very much! HD

  • When i do title animation the last letters or words of the script always pop up before the rest fades in and stays after the rest fades out...help!

    when i do title animation the last letters or words of the script always pop up before the rest fades in and stays after the rest fades out...help!
    I tried changing the font and then the placement of the title but it always comes back!

    Thank you. I figured it out right before I heard from you.  Running the OCR before the redaction made it work correctly.
    Thank you so much for taking the time to answer my question.
    Make it a great day.
    BG10

  • Using OS X 10.6.8 on my IMac, I find that items on my message list no longer "fade" from dark to light when I click on them. I recently switched the font from Arial to Helvetica to permit me to select italics for any word. I am composing in rich text.

    Using OS X 10.6.8 on my IMac, I find that items on my message list no longer "fade" from dark to light when I click on them. I recently switched the font from Arial to Helvetica to permit me to select italics for any word. I am composing in rich text.

    Not sure why it would default to IMAP?  But any how, start the account anew, fill in the first page of info, but before clicking on the Create button, hold down the Option key until the Create button changes to read Continue.  Click continue, and proceed in a more manual process during which you can set the account type as POP.
    Ernie

  • How to remove highlighted word on safari which cause pop-up ads

    Hello
    How can I remove highlighted words in safari? it also pop up ads when I move marker to these words. I am attaching a picture which shows clearly what i mean.
    after every highlighted word it can also be seen a green symbol.
    waiting eagerly for your replu

    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.

  • Highlight words in link column..how to retain case?

    I learned a lot from this thread... Highlight Search results within a linked column ...and I have the solution implemented and working perfectly...almost.
    My query is essentially as follows...
    select foo, bar, replace(upper(PROJECT_NAME),upper(:P2_SEARCH),'<spann style="font-weight: bold; color: red;">' || :P2_SEARCH || '</span>') as PROJECT_NAME_LINK
    from Projects
    where upper(PROJECT_NAME) like '%' || upper(:P2_SEARCH) || '%';
    Without the search and highlight words enabled...the result is essentially...
    foo1 bar1 ABC123
    foo2 bar2 EFG456
    With the search and highlight words enabled...the result for searching on "a" is...
    foo1 bar1 aBC123
    My small remaining issue is that the replaced and highlighted search term is always inserted in the case (upper/lower) that the search term was entered. In contrast, the default method utilized by ApEx seems to be able to retain the case when highlighting the text.
    Any idea how I can retain the case within my highlight words link column?
    Any idea how the ApEx function does this? (maybe the concept can be applied)
    Matt

    I talked to Raj who posted the original solution to my issue in the above referenced thread from 2001.(apparently this forum rendered out some of his posting which made it hard to understand...)
    select decode(instr(upper(emp.ename),upper(:P1_SEARCH)),
    0, emp.ename,
    substr(emp.ename,1,
    instr(upper(emp.ename),upper(:P1_SEARCH)) - 1)
    || '<spann style="color:blue;">' ||
    substr(emp.ename, instr(upper(emp.ename),upper(:P1_SEARCH)),
    length (:P1_SEARCH))
    || '</spann>' ||
    substr(emp.ename, instr(upper(emp.ename),upper(:P1_SEARCH)) + length(:P1_SEARCH) )) my_column_alias
    from emp;
    (be sure to correct the spelling of "spann")
    This solution works great...thanks Raj!
    Matt

  • Highlight Words in TextFields

    Hi there,
    I'm using APEX 2.1.
    Is there a possibility to highlight words in a TextFiled (inside a Tabular Form)?
    Thanks
    Johann

    Hmm, I didn't realise that the tabular forms overrode those css settings...sigh
    What about creating the tabular form as an updateable sql report.
    eg.
    select     "DEMO_CUSTOMERS"."CUSTOMER_ID" as "CUSTOMER_ID",
    APEX_ITEM.TEXT(
    2,
    CUST_FIRST_NAME,
    null,
    null,
    case when instr(upper(CUST_FIRST_NAME), upper(:P2_NAME_SEARCH),1)>0 then 'style="background-color:yellow;"'
    else null end
    ) FIRST_NAME,
         APEX_ITEM.TEXT(
    2,
    CUST_LAST_NAME,
    null,
    null,
    case when instr(upper(CUST_LAST_NAME), upper(:P2_NAME_SEARCH),1)>0 then 'style="background-color:yellow;"'
    else null end
    ) last_NAME,
         "DEMO_CUSTOMERS"."CUST_CITY" as "CUST_CITY"
    from     "DEMO_CUSTOMERS" "DEMO_CUSTOMERS"
    where (instr(upper(CUST_FIRST_NAME||CUST_LAST_NAME), upper(:P2_NAME_SEARCH),1)>0 or :P2_NAME_SEARCH is null
    I have an example at
    http://apex.oracle.com/pls/otn/f?p=34581:2
    username test: password: testing.
    I didn't bother writing a procedure to store updates and all that and I only made the name fields enterable. There must be an easier way though.

Maybe you are looking for

  • How to connect Satellite M115 to the TV?

    Hi I have a Toshiba Satellite M115 s3094 and Im trying to connect it to my TV. The TV I have has only composite and SCART ports (its an old TV). I managed to connect it through s-video connector but I have no sound on the TV and its also in black and

  • I do not have a search bar in my firefox browser

    I have an address bar which does not contain a search bar, how can i add search bar

  • MM, Vendor block, FK08 + XK05

    Hi, I have a requirement to block a vendor, not only for payment (in FK08 tcode), but for purchasing as well (XK05 tcode). I found a BTE event during Vendor save (xk1 / xk02). In my custom code there, I check if sensitive fields were changed (there i

  • How to design a grid to withstand a partial network failure

    Hi, We are evaluating Coherence for a mission-critical system where we want to test partial network failure scenario. We want to run 4 physical hosts, 8 JVMs with 2 JVM on each host. The evaluation criteria is to connect 2 machines on either side of

  • Placeholder for collection name in a file export dialog.

    I would like to be able to export pictures in subdirectories with names based on the name of the collection they are in. I cant find any file name place holders relating to collection names. Is this possible?