Code completion deletes text

I'm wondering if there is any way I can prevent JDeveloper from deleting text already in my document when it does code completion. In particular I'm dealing with XML files...
Consider this text-editing task:
I have this test:
Today is a wonderful day.
I want to mark this text up to look like:
Today is a <bold>wonderful</bold> day.
If I locate my cursor (marked by ^) next to wonderful:
Today is a ^wonderful day.
And then enter the &lt; character followed by the b character Jdeveloper pops up a menu of the possible choices ( bold )...
If I then select that choice ( press 'enter' ) it assumes that I'm replacing the tag <bwonderful with the tag <bold> and deletes the text wonderful. The end text and cursor position I get is:
Today is a &lt;bold^ day
Is there any way to configure JDeveloper to have the behavior I desire:
Today is a &lt;bold^wonderful day
I find that because of JDeveloper's deletion of text, I end up having to think about whether I would rather type the tag name manually ( not use completion) or retype the following text ( use completion ) every time I insert a tag into my xml documents.

I'm using the December release of JDeveloper:
Studio Edition Version 11.1.1.0.1
Build JDEVADF_MAIN.BOXER_GENERIC_081203.1854.5188
If there is a space, then it doesn't replace the text, as in the example you show:
Today is a ^ wonderful day
works correctly giving:
Today is a <bold^ wonderful day
It also works well if you're inserting in front of a tag:
Today is ^<bold>wonderful</bold> day
can easily be changed to
Today is <blink^<bold>wonderful</bold> day
where code completion lists the tag <blink>

Similar Messages

  • How to completely delete text messages from spotlight search

    I don't want text messages showing in spotlight search. How do I get them off my ipod?

    go to ur text messages inbox, try to compose a brand new message. type in that persons name that u are trying to delete the text messages from. (make sure this person is already deleted off ur contact list first). their name will appear and beside their name is an icon "i" click on it. scroll till u see "remove contact from recent" and THATS IT my dear. so simple. let me know when it worked out for u

  • Completely deletion of company code

    Hello Gurus,
    I have a scenoria where this ABC company is selling its system to another newly formed company say XYZ.
    Current Environment of ABC :- Has 3 company codes attached to single chart of accounts and controlling area. The module used are MM,SD,FI,CO,AM,PP and PM.
    As XYZ is an entirely new company, there is no legacy system and no business data.
    XYZ wants its ERP organisational structure just like ABC. They want to maintain only one company code with no transactional data but wants to maintain the Master data. Also they are planning to use only FI, CO, AM, and MM modules.
    My concerns are :
    1. Does reseting  company code by OBR1 and OBR2 would help in deactiving company code completely from all modules including FI, CO, AM and MM . If not, what are the steps to completely wipe out the company code from the client.
    2. Is there any other alternatives to retain the original org structure without retaining the transactional data.
    Thanks
    PS.

    you want to remove complate from Production Environment
    ABC Comp Code Having any Transactional Data
    Transactional Data - OBR1
    Master Data - OBR2
    Transactional Data for Co - OKC3
    Activity Types - KL14
    PC De-Active - 0KE5
    PC Tranasction data - 0KE1
    PC - 0KE2 / KE54
    PC GROUP - KCH2
    COST CENTERS - KS14
    CC GROUP - KSH3
    COST ELEMENT - KA24
    COST ELEMENT GROUP - KAH2
    BELOW STEPS SHOULD RUN DEV YOU TP MOVED TO PRD
    REMOVE COMP CODE ASSIN CONTROL AREA - OKKP
    CONTROLING AREA - EC03
    DELETE - PLANTS - EC02
    SALES ORG - EC04
    COMPANY CODE - EC01
    Regards,
    TML

  • Please help deleting text

    Hi,
    I want to know if it is possible to select a RichEditableText on my canvas and delete it by clicking on the delete key on my keyboard.
    This is the code for my text fields:
    <s:Group 
    width="630" height="394" x="0" y="0">  
    <s:RichEditableText id=
    MyAddress"text="
    my address here" fontSize="
    12"mouseDown="MyAddress.startDrag();"
    mouseUp="MyAddress.stopDrag();"
    mouseOut="resetHandler(event)"
    mouseOver="clickHandler(event)"
    x="
    114" y="64" fontFamily="Verdana" textAlign="right" 
    />
    <s:RichEditableText id="
    MyWebsite"text="
    my website here" fontSize="
    12"mouseDown="MyWebsite.startDrag();"
    mouseUp="MyWebsite.stopDrag();"
    mouseOut="resetHandler(event)"
    mouseOver="clickHandler(event)"
    x="
    115" y="158" fontFamily="Verdana" textAlign="right"/>
    <s:RichEditableText id="
    MyPhone"text="
    my phone here" fontSize="
    12"mouseDown="MyPhone.startDrag();"
    mouseUp="MyPhone.stopDrag();"
    mouseOut="resetHandler(event)"
    mouseOver="clickHandler(event)"
    x="
    125" y="82" fontFamily="Verdana" textAlign="right"/>
    <s:RichEditableText id="
    MyFax"text="
    my fax here" fontSize="
    12"mouseDown="MyFax.startDrag();"
    mouseUp="MyFax.stopDrag();"
    mouseOut="resetHandler(event)"
    mouseOver="clickHandler(event)"
    x="
    146" y="99" fontFamily="Verdana" textAlign="right"/>
    <s:RichEditableText id="
    MyMobile"text="
    my mobile here" fontSize="
    12"mouseDown="MyMobile.startDrag();"
    mouseUp="MyMobile.stopDrag();"
    mouseOut="resetHandler(event)"
    mouseOver="clickHandler(event)"
    x="
    124" y="116" fontFamily="Verdana" textAlign="right"/>
    <s:RichEditableText id="
    MyEmail"text="
    my email here" fontSize="
    12"mouseDown="MyEmail.startDrag();"
    mouseUp="MyEmail.stopDrag();"
    mouseOut="resetHandler(event)"
    mouseOver="clickHandler(event)"
    x="
    132" y="133" fontFamily="Verdana" textAlign="right"toolTip = "
    you can drag me around or click inside me to enter your email here" 
    />
    <s:RichEditableText id="
    MyName"text="
    my name here" fontSize="
    24"mouseDown="MyName.startDrag();"
    mouseUp="MyName.stopDrag();"
    mouseOut="resetHandler(event)"
    mouseOver="clickHandler(event)"
    x="
    50" y="23" fontFamily="Verdana" textAlign="right"toolTip = "
    you can drag me around or click inside me to enter your name here"/>
    <mx:Image x="319" y="
    292" source="
    @Embed('images/your_logo.png')"mouseDown="img.startDrag();"
    mouseUp="img.stopDrag();"
    mouseOut="resetHandler(event)"
    mouseOver="clickHandler(event)"
    id="
    img"toolTip = "
    you can drag me around :-)"complete="smoothImage(event)" smoothBitmapContent="
    true"/>
    </s:Group>

    Just create a HGroup for each RichEditableText that also contains the "x".  Then add a click handler to the x that does something like removeElement(hGroup1)
    Where hGroup1 is the HGroup that contains the RochEditableText and the x.
    HTH;
    Amy

  • Microsoft Visual C++ 2003 Code Completion

    Hi Folks, since I'm a newbie on Indesign SDK, there's a startup question:
    How can I get MSVC to make code completion against the Indesign API?
    In "Configuration Properties|Resources|General|Additional Include Directories" I've already added
    source\precomp\msvc and
    source\public
    but nothing helps, no API code completion. For my own WIN32 classes in the same plugin project the completion works fine. I couldn't find anything about it in the docs.
    Thanks in advance for your hints!
    regards Teja

    Hello Eugenio & Teja!
    Teja Try this:
    Close VC
    Then delete the "MyProgram.ncb"
    When you open VC again it rewrites the file.
    That helped me.
    I had the intellisense not working problem, since I read your posts.
    Here is what I did:
    1. Project -> Properties:
    Configuration Properties -> C/C++ -> Command Line:
    Additional Options:
    I removed the /vmg @"MyProjectcpp.rsp"
    2. Project -> Properties:
    Configuration Properties -> C/C++ -> General:
    Additional Include Directories:
    I included all the paths that are in MyProjectcpp.rsp,
    but not theese:
    ..\..\..\source\public\facades\graphics
    ..\..\..\source\public\facades\text
    ..\..\..\source\public\facades\layout
    (I dont have the debug build version, maby theese are for that)
    Then after compiling I got many error messages like:
    error C2220: warning treated as error - no 'object' file generated
    warning C4652: compiler option 'PM representation(/vmg)' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
    Then I did this:
    3. Project -> Properties:
    Configuration Properties -> C/C++ -> Precompiled Headers:
    Create/Use Precompiled Headers:
    I changed Use Precompiled Header (/Yu) to
    Not Using Precompiled Headers
    And the intellisense, it is working now.
    Thank you Eugenio!
    Nice coding!

  • I need the code to delete record in the database not in the form???

    I need the code to delete record in the database not in the form...
    because when i execute a form always insert the datas in the data base but i want insert value on a text file and delete in the data base the record whith this value of text file.
    i'm spanish an my english is bad sorry.
    thank, javier

    Well, I fail to understand why you want to complicate easy things, but anyway you can do that by using TEXT_IO within Forms to create text file (see Forms builder help), and UTL_FILE package to read it within Pl/Sql : you could create a stored procedure, and call it from Forms passing the file name as parameter. See UTL_FILE documentation

  • I am using an early 2008 MacBook Pro and am having issues with it deleting text on its own (in word, emails, etc.). As I am typing it all of a sudden starts deleting and I can't stop it. What can I do?

    I am using an early 2008 MacBook Pro and am having issues with it deleting text on its own (in word, emails, etc.). As I am typing it all of a sudden starts deleting and I can't stop it. This happened once before and it was due to a buldging battery pressing on the track pad. I checked the battery and it appears to be fine. What can I do?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Deleting text in Mail 5

    I've noticed in Mail 5 (Lion) that if I deleted text, sometimes, a whole paragraph will disappear and the text re-arranges itself. Eg. I have a sentence, hard return, a paragraph, hard return, paragraph, etc. I delete the hard return to join 2 paragraphs together and the first sentence will completely disappear.
    I insert a signature and copy and paste (matching style) any text into the signature so that I don't get font problems with Outlook, so perhaps it is something to do with signatures and formatting in Lion?

    OK, I'm replying to myself here, just for the record.
    The issue has been resolved after I upgraded to a recent system update. Not sure what the update number is, but my Mail version now reads 3.4, and my Mac OS version is now 10.6.4.

  • Execute code from a text file ...

    Hello ,  Would like to know whether it is possible to have my ABAP code in a text file in desktop and then execute the code by reading it into an ITAB in another ABAP program .
    Note : Pl. dont suggest how to upload and create a new program . I dont want to create a new program after uploading into ITAB using INSERT or function modules . I want to execute the code as part of the uploading program only . So that once the execution is complete the uploaded code will not be available in the SAP system.
    Thanks in advance ,
    Jee.R

    >
    jeeva R wrote:
    > Note : Pl. dont suggest how to upload and create a new program . I dont want to create a new program after uploading into ITAB using INSERT or function modules . I want to execute the code as part of the uploading program only . So that once the execution is complete the uploaded code will not be available in the SAP system.
    Oh dear.  The only solution to your requirement is, sadly, to upload and create a new program, and then one further step.  There is no other way.  So it looks like you'll have to do without.
    matt

  • Why can I not use mouse or keyboard to delete text?

    I have encountered a strange anomaly.  I have recently installed the update to OSX and iTunes, and now I have been unable to delete text or correct mistakes using the DELETE key on keyboard or the mouse itself.  I can only delete with the pull down menues in Safari or Entourage (my email preference).  Any ideas?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Spotlight shows completely deleted messages in iOS 8.1

    Spotlight shows completely deleted email messages and sms (emails are deleted both from sent and trash) in ios 8.1.
    Some emails marked with blue circle (like a new message) and I can open them and see attachments and text.
    When open message without blue circle, only Mail App start (or Messages App in case of sms).
    I noticed that the blue circle and ability to see all text and attachments in deleted letter appears in the case when during editing letter Swipe Down gesture was used.
    Note that the problem affects only sent messages. Incoming removed correctly.
    3 iPhones is fully restored as a new, 2 iPads - same situation.
    Too bad about the confidentiality of data with this problem. And ios device storege too.

    I have the same issue on the iPad

  • Another code completion bug

    At some point during my editing the code completion system got screwed up. This has also caused the "Go to Definition" feature (holding CTRL key and hovering mouse over element where you want to see the definition for) to work incorrectly - see screenshot attached.
    The code compiles without warning or error.
    I have restarted FB without any change. I have also deleted the "...codemodel" folder in the .plugins folder since I have heard somewhere that it might help, but didnt.
    I am using FB4 beta2 on WinXP.

    Okay, I tracked it down to the following function which precedes the point from which on things got screwed up:
    protected function provideSummaryText():void
    this.txtQuantGoals.htmlText = "&lt;";
    Its the HTML "less-than" entity which breaks the editor.

  • Is there anyway to retrieve deleted text in my notepad?

    Is there anyway to retrieve deleted text in my notepad?

    Welcome to the Apple Community.
    Certainly no easy way, I'm afraid.
    The difficulty in restoring iCloud data from a back up is that the back up is older than the current version on iCloud and anything that is restored gets removed again when an iCloud sync occurs. I have previously suggested ways to recover contacts, calendars etc, and other users have confirmed that they work, as such I am making the following suggestions to recover lost notes, but please note, as yet success is unconfirmed.
    Recovering your notes is quite time consuming, you may wish not to save all your notes to save some time, if they are not of importance.
        1.    Ensure the device is connected to your local network.
        2.    Start the restore from iCloud back up.
        3.    Allow the devices settings to restore (watch for the confirmation of completion).
        4.    As the apps begin to restore pull the connection to your router WAN port (the one that goes to the telephone point).
        5.    Wait for the time out confirmation.
        6.    Open the 'Notes' app, and open your first note (assuming your deleted notes have now been restored).
        7.    Select the share option at the foot of the screen (rectangle with arrow) and choose mail.
        8.    Send the email to yourself (If they won't send, save them to draft)
        9.    Repeat steps 7 & 8, until you have copied all the notes you wish to save to email.
        10.    Reconnect the router to the internet and let the restore process complete.
        11.    Navigate to settings > iCloud and make sure 'Notes' syncing is enabled.
        12.    Open the 'Notes' app, check that iCloud notes have reverted to how they were before starting the restore.
        13.    Open the 'Mail' app and open the first email you sent yourself and copy the text you want in the note.
        14.    Open the 'Notes' app and create a new note in the iCloud, paste the text you copied.
        15.    Go to iCloud.com on a computer and check that the note has synced to iCloud.
        16.    Repeat steps 12, 13 & 14 until you have recovered all your notes.
    May I suggest that you carry out a back up to iTunes before you try anything, that way should things become even worse, you can at least restore back to where you are now.

  • Deleting text in a file dialog box via simulated keyboard strokes

    I am trying to delete text in a file dialog box via simulated keyboard strokes, but the key combination of SHIFT down - HOME - END - SHIFT up does not highlight the text as expected. I attach an example vi that opens its own file open box, enters a text string, which it should subsequently delete. But it is not deleting the text as expected. What do I need to change?
    Attachments:
    Test_Delete_Text_in_File_Dialog_Box.vi ‏40 KB

    Pbuerki,
    It looks like you are doing all the keystrokes correctly. My only guess as to why it is not highlighting is that the keybd_event function does not support advanced key code commands. The function is outdated and has been superseded. See the follow MSDN link for more information: MSDN keybd_event.
    There are probably some easier ways to accomplish your overall objective. What are you trying to do? Do you simply want to programmatically open a file?
    Have a nice day!
    Robert Mortensen
    Applications Engineer
    National Instruments
    Robert Mortensen
    Software Engineer
    National Instruments

  • Code completion user commands helplink

    Hello
    I am currently working on code completion for user commands in version 2012.  I have an XML file in which I have the descriptions for all the hover text and associated help links.  Everything is working correctly except for the help links.  They seem to be always looking to go to the diadem.chm help file.  I was wondering if there was any way to redirect where they point or am I missing something?  Thanks. 
    Ben

    Hi Carmen
    Actually I'm really not using an external program per se.  I guess I need to clarify what I am doing better.  Sorry about that.    
    Look at the help file for ScriptCmdRegister here for an example.  A shorter version without an example is spelled out below if you wish.  
    I am creating a VBS user command script containing classes of objects that I add using scriptcmdadd.  I am then registering the TLB file using scriptcmdregister resulting from compiling an ODL file.  After compilation, the ODL file is no longer needed.  I have a third/fourth file to go along with these which is an XML file that I got from a coworker.  The XML file contains the descriptions, helplinks, and datatypes that appear when code completion comes up, just as there is in DIAdem when you type View.ActiveSheet.etc.  
    However, you notice in DIAdem that there is a help link, which is what I cannot get working because when I insert anything into the xml file where the help link would go, it throws an error because it is trying to point to the DIAdem.chm help file no matter what.  This is what I wish to redirect so it can go to my own chm/html help file, if it is possible or supported that is.  Thanks
    Ben

Maybe you are looking for

  • Transferring music from Iphone to a new installed Itunes library

    I have recently had my lap top repaired and my Itunes has had to be erased, I have reinstalled Itunes and my Itunis es music library is now empty and I did not make a back up, is there anyway I can transfer all the music from Iphone back in to my mus

  • Transaction/Movement type on the vendor line item

    When we post to a vendor using F-43 (or FB01) using posting key 31. We want the field Transaction type to be available for input in the vendor line item. But this is not happening. note: In the FSG of vendor recon account and Posting key 31 this fiel

  • Checking the size of the object

    Hi all , i need to check the size of the Oracle internal table for the text index created . dr $r --table option 1: SELECT S.bytes Bytes, SYSDATE FROM DBA_SEGMENTS S, DBA_LOBS L WHERE l.TABLE_NAME='DR$TEXT_SEARCH$R' AND l.SEGMENT_NAME=S.SEGMENT_NAME;

  • Problem in adding rows in a table

    Hello All , I am having a strange problem in adding table rows here . All things seems to be in place . But when i click the button nothing happens . I have worked on much more complex tables and added rows safely but i cant understand what's happeni

  • HT5693 i am giving my computer to my parents can they take over the Apple Care agreement?

    I am giving my Mac to my parents, can they take over the apple care agrement as it has 2 years left...