Content assistant problem

how to implement content assisatant (ctrl+space) in JavaFx textArea?

Situation has changed - now content assistant is working almost ok, for both editors. CreatePage0 function is the same, the only change in code is:
@Override
protected IEditorPart getEditor(int pageIndex) {
//return super.getEditor(pageIndex);
super.getEditor(pageIndex);
if (composite != null)
Control focus = composite.getDisplay().getFocusControl();
if (focus !=null){
while (focus.getParent() != null && focus.getParent() != composite){
focus = focus.getParent();
if (composite.getChildren()[0].equals(focus)){
if (logicInputActive != true)
logicInputActive = true;
setActiveEditor(logicInputEditor);
activateSite();
}else if (composite.getChildren()[1].equals(focus)){
if (logicInputActive != false)
logicInputActive = false;
setActiveEditor(logicOutputEditor);
activateSite();
StructuredTextEditor o = logicInputActive ? logicInputEditor : logicOutputEditor;
return o;
So i get the element with focus, and whether it's child of logicInputEditor(it "is in" composite.getChildren()[0]) or logicOutputEditor(composite.getChildren()[1]). This part of code works fine(or at least i think so...). Problem is quite weird - if you click on editor TWICE or once + type something(some random letters) - everything is fine(content assistant shows in this editor), if you click only once content assistant shows in last editor in which you clicked twice. So even if getEditor() function returns "correct"(active) editor, for some reason content assistant shows in "wrong" editor. I tried to override getActiveEditor, but it doesn't change anything. Any ideas what can cause this problem and how can i fix that?

Similar Messages

  • Content Assist is not showing the id

    My problem is I have a custom componts that created by me.
    but problem is flash builder is not showing the id of it for cntrol+space -->content Assist
    here is my layout/architecture
    Application
    TabNavigator out bound container(inside application)
    NavigatorContent (inside NavigatorContent)
    custom component name CustomerDetails{s:Group}(inside CustomerDetails)
    There is a custom component name CustomerDetails{based on s:Group},it is on NavigatorContent,and it is on TabNavigator, and TabNavigator is on Application

    sorry.there was a mistaken.this is the heirarchy
    Application
    TabNavigator out bound container(inside application)
    NavigatorContent (inside TabNavigator )
    custom component name CustomerDetails{s:Group}(inside NavigatorContent )
    any suggessions ?

  • Conflict between OEPE 12.1.2.1 and WTP 3.5.1 on content-assist in el expressions

    Hello,
    In kepler when I install the OEPE plugin the content-assist in web pages with el expressions doesn't work if the ManagedBean isn't declared in a faces-config.xml file.
    In my test I have a Managed Bean annoted @ManagesBean, with WTP only when I type
    <h:outputLabel value="#{testMB01.}"/>
    the content-assist propose to me the getters ans setters of my Managed Bean but if I install the OEPE the content-assist propose anything.
    With OEPE the only way to have the content-assist to work is to declare my Managed Bean in a faces-config.xml but I don't want this because I'm with a JEE 6 application.
    Anybody have an idea ? I try to install only the server adapter to allow WTP deploy to WLS but unfortunatly all OEPE is installed .
    Regards,
    Stephane

    For OSB, WLP etc. installations you do use the link mechanism to bring the OSB or WLP plugins on top of the standard OEPE plugins.That's done for legacy reasons having to do with those product installers. The linked plugins are arranged in runnable format, not repository format.
    This feature worked in Eclipse Juno 4.2 SR1 and OEPE 12.1.1.2Perhaps you were doing something different. One of the reasons that Eclipse does not recommend the dropins folder method of installation is that there is no feedback if something goes wrong. Any number of things could be getting in the way. If you were using the install UI, you'd be informed of the problems before any changes are made. With dropins, Eclipse tries to install and start as much as it can and you don't really know what's going on.
    - Konstantin

  • Code/Content Assist and Maven Multimodule

    Hi All,
    I've found a VERY weird anomaly while developing with Flex Mojos (Maven Plugin) and Flex in Eclipse.
    What I've noticed is if I embed the Flex 4 project inside of a Maven Multimodule project, the Code/Content Assist in Eclipse/Flex Builder seems to go away.
    Has anyone ever experienced this before?
    Thanks!!
    Ronak Patel

    Hi Jason,
    Yes the FXP file worked. There is something about my project that Flex doesn't like.
    I do not get any errors like those described in the bug. It just doesn't do anything when you type the dot.
    I do have a library from a loaded swf, but it all works. I also described my project to have two component directories. Please see previous post.
    Could this be the problem?
    And, could you please tell me how to find my "workspace" directory.
    And, one more thing...
    Could you please let me know how to "try a clean workspace". I'm tempted to merely delete the project, leaving the files, then re-import.
    Thanks,
    Shannon

  • Content assist only displays the flash.errors package

    Has someone encountered this before? Content assist is not working for me within Flex Builder 3. I just updated to the latest stable sdk 3.4.0.6955. I was starting a project and when I typed "import flash." all that was offered by content assist was "errors".
    See picture below and thanks in advance for any and all help!
    Jake

    Hey there!
    I happen to have the exact same problem... and I'm yet to find a solution. Happened yesterday and somehow I managed to fix it. Don't know what I did but it envolved importing/exporting, clearing the workspace... whatever, it just got back on track the same way it got out of it... Happend again today... and I haven't been able to fix it. Have you found a solution for this? I'm using the 3.5.0.12683 sdk.
    Edit: It's working again... all I did was open a *.as file that happened to implement the Event class... don't know if that triggered it.

  • Adobe Content Viewer problem. Please Help me...

    Hi after updating online. Folio, I tried to update the trial version of the publication on my iPad but I get this message: "the issue isavailable for dowload, but new signing for an application version. Update the application from the App Store. "I went to the AppStore and was not any update of the Content Viewer ... I deleted the version on my iPad I downloaded again ... but without success gives me the same problem ... Please help me ... how can I do??
    thanks

    Hello Bob and thank you for responding so quickly ... Would you be kind enough to send me the link where I can download older versions of Folio Builder and Folio Producers Panel tools for InDesign 5.5. I'm looking for them but I can not find them.
    Thank you for your patience.
    Il giorno 21/gen/2012, alle ore 16:18, Bob Levine ha scritto:
    Re: Adobe Content Viewer problem. Please Help me...
    created by Bob Levine in Digital Publishing Suite - View the full discussion
    As discussed in numerous threads already, the new viewer has not been approved by Apple yet.
    If you’re a pro or enterprise customer you can create your own viewer app. If not, you’ll have to wait or roll back to the older tools.
    Bob
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4155907#4155907
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4155907#4155907. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Digital Publishing Suite by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How to debug file content conversion problems?

    Hi,
    I'm trying to debug a file content conversion problem.  I'm mapping a few nodes in an IDOC to a file of fixed length fields.  I'm using the "<Node A>.fieldFixedLengths", "<Node B>.fieldFixedLengths", "<Node C>.fieldFixedLengths", etc. parameters to specify the fixed length records.
    However, a certain node (for e.g. Node B) is causing a problem and if it is present in the IDOC, the output file does not get created.  Upon checking the XI monitor, I notice that the file gets mapped correctly and thus the problem lies when the file adapter does the file content conversion.  How do I debug this because there is no descriptive error in the XI log?  If this node is not present, the file gets generated fine.
    Thanks,
    Basant Gupta

    Hi,
    If your SXMB_MONI shows, success status, then go to RWB->Message Monitoring->Message display tool and then check Audit log for the analysis,
    So it wil help you debug the situation.
    If there is no error, then check RWB->Component Monitoring->Adapter Monitoring for you file communciation channel..
    /people/michal.krawczyk2/blog/2005/01/02/simple-adapter-and-message-monitoring
    Regards,
    Moorthy

  • Migration Assistant: Problems transferring data from PC (XP SP3) to new Mac Pro 2012 - can not get Migration Assistant to work as PC will not display verfify passcode

    Migration Assistant: Problems transferring data from PC (XP SP3) to new Mac Pro 2012 - can not get Migration Assistant to work as PC will not display verfify passcode
    Hello, I am having problems migrating data from my old PC running XP (SP3) to my new Mac Pro 2012 using the Migration Assistant.
    - I downloaded and installed the Windows Migration Assistant from Apple
    - My Mac recognized PC and displays passcode
    - The sasscode does not show / display on my PC
    - My Mac is then stuck in "authenticating" loop and the PC is stuck "waiting for Mac to connect."
    - Both computers are connected on same network (have connected PC on WIFI and using ethernet to Reuter)
    I have looked on support site and only response I saw says to reinstall Windows Migration Assistant (which I have done)
    Any ideas?  If cant get this to workare there instructions for manually bring across relevant data eg itunes music and apps, photos, picasa data etc?

    Why not turn off the Windows firewall and uninstall any other firewall software you have installed?
    If you are using a Norton product uninstall it and discard it. To fully unistall most Norton products you have to go to the Norton website and download a soecial program to completely get rid of it. The normal uninstall feature built into the program will not remove all of it.

  • Java Content Assist in CQ 5.6 / CQ 5.5

    In order to make Java Content Assist work in CQ 5.6/ CQ 5.5, download the file crxde-missing-libs-1.0  from : https://dev.day.com/packageshare/packages/public/day/crxde/crxde-missing-libs.html and install it.
    Once installed, go to /etc/crxde/profiles/default/libs/ in your Editor and refresh it. Once it is refreshed, right click and  select Build:Refresh Classpath.

    Hi,     
       The issue seems to be with CQ 5.6 & Java 1.7.  One of the workaround is by adding -XX:-UseSplitVerifier option to the JVM.   Also you have to update the API from 'com.day.cq.workflow' to 'com.adobe.granite.workflow' .  
    Thanks 
    Siva

  • Content protection problem

    Hi. I've got that content protection problem when downloading from blackberry app world. Every time I try to download something, a message comes up that says, "An error has occurred communicating with the BlackBerry App World Client. If you have content protection enabled on your device, please disable and try again,". I'm sure a lot of people had this problem and many of them have had their problem solved, but i've already tried solutions like disabling the encryption and doing the battery pull but the message still comes up.
    Are there any other solutions that I can try?
    Thank you in advance

    Hello timothyW, 
    Welcome to the forums. 
    Have a look at this article for help changing the content protection settings on your BlackBerry® smartphone. 
    KB11963
    How to change the setting for Content Protection on the BlackBerry smartphone
    Hope this helps. Have a good day. 
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Content Assist Not Working

    Content Assist does not work for me in Flash Builder 4.5 on Mac OS 10.6. For example, I type a variable definition and get no suggestions for variable. Type.
    Content Assist does work if I create a new project and a new class, but even with that it stops working at some point (after a save?).
    I've tried restarting FB and running the -clean command.

    Thanks for your help, but in preparing a response I figured out files need to be in "src" to have content assist. My project had been imported from a Flash project and the files were at the same level as "src" and not inside "src".

  • Broken content assist

    With "content assist" I mean the feature that pops up a selection of choices to complete the code you are writing, such as function & class names and variables.
    Now, I just figured out why it doesn't sometimes..
    My code looks like:
    var prds:Array = new Array();
    for each (var prd:Product in prds) {
    // empty
    prd.foo();
    Content assist fails on the last line. It does not provide any suggestions based on Product for the variable "prd".
    However, the code compiles, of course, without errors or warnings.
    Is there a bug report on this?
    PS: Of course I could declare the "prd" variable at top-level and then it would work. The point here is that content assist fails on code that compiles.

    That is because till FB 4.0.1, variables were being scoped at block level in Flash Builder's code model. So in your code, 'prd' variable is visible only inside 'for' block. This is fixed in newer builds ( https://bugs.adobe.com/jira/browse/FB-27662 )
    -radhakrishna

  • FB3 IDE 'Content Assist' bg color too light to see.

    Hey all,
    The bg color for selected row on Content Assist (Code
    Hinting) in FB3 IDE is too light for me to distinguish.
    Does anyone know where this setting can be changed? I have
    checked everywhere in the "Preferences" area, can't find it.
    Thanks,
    Huntër

    Try with this
    Windows -> Prefrences -> General -> Editors -> Text Editors -> Annotations -> Right side there is list from which select -> Actionscript occurance.

  • Extended Content type problem

    Extended Content type problem
    I want to extend the content type 'ExtendDocument' from 'Document'.
    So I use 'Oracle Internet File System Manager' to create a new Class Object named 'EXTENDDOCUMENT', which is extend from 'DOCUMENT', and add a attribute 'EXTENDURL'.
    This Class Object's bean class is 'ifs.beans.ExtendDocument' and server class is 'ifs.server.S_ExtendDocument'.
    I create these 2 java class and put the class files to ORACLE_AS_HOME\ifs\cmsdk\custom_classes directory.
    As I want to set the object type as 'ExtendDocument' when uploading a file which expend name is '*.wmv', so that need to change 2 default value 'ParserLookupByFileExtension' and 'IFS.PARSER.ObjectTypeLookupByFileExtension'
    So I add 'name=wmv, datatype=STRING, value=oracle.ifs.beans.parsers.ClassSelectionParser' to ParserLookupByFileExtension.
    And then add 'name=wmv, datatype=STRING, value=EXTENDDOCUMENT' to IFS.PARSER.ObjectTypeLookupByFileExtension.
    After done above actions, i restart my oracle application.
    I use CUP to upload a test file 'test.wmv' to CMSDK repository, and its type is 'EXTENDDOCUMENT'.
    But if I use FTP or WebStarterApp application to upload 'test.wmv' file to CMSDK repository, then its type is 'DOCUMENT'.
    Why and how to change to make FTP and WebStarterApp application can upload *.wmv file's type as 'EXTENDDOCUMENT'?
    anybody can help me?
    thanks.

    Nirav-P-Thakar wrote:
    FileNameMap  fnmMime        = URLConnection.getFileNameMap ( ) ;
    fnmMime.getContentTypeFor(fileName);
    URLConnection.guessContentTypeFromName(fileName);I have tried out both methods but it returns null when the file is of type MS Office or Open Office.In reply 1 BalusC said..
    "Alternatively you can use ServletContext#getMimeType() for this. It guesses the content type based on the mime mapping as it is been definied in the web.xml of the application server and the webapplication. If it returns null, then you need to add new <mime-mapping> entry to the web.xml."
    I would try doing it this way. Try including entries for the mime mappings in the deployment descriptor of the web application.

  • Change highlight color for content assist

    Hello. The highlight color for current selection in Content Assist (Code .. Hinting) in FB3 IDE is too light for me to distinguish. How it can be changed?

    Try with this
    Windows -> Prefrences -> General -> Editors -> Text Editors -> Annotations -> Right side there is list from which select -> Actionscript occurance.

Maybe you are looking for

  • Weird video problems with Mobility Radeon HD 4200

    Recently pacman upgraded the video drivers for my video card: [2011-04-17 12:48] upgraded xf86-input-acecad (1.4.0-4 -> 1.4.99_git20110318-1) [2011-04-17 12:48] upgraded xf86-input-aiptek (1.3.1-2 -> 1.3.99_git20110318-1) [2011-04-17 12:49] upgraded

  • Where's Encore? I've already watched all the tutorials I can find to no avail.

    The information from Dav's tutorials (an Adobe guy) make it sound so simple, as do the other tutorials I can find on YouTube (because the Adobe TV site does not address the issue). But do I really have to download the WHOLE Premiere Pro CS6 simply to

  • Work-around for Exchange server? Let's chat!

    Hi - I have been reading all the questions/frustrations regarding iPhone playing nice with Exchange servers. I am desperate to get my calendar and contacts on my iPhone so how about putting our brains together and thinking about some sort of work-aro

  • Newbie here I NEED HELP!!!!!!! 750 (former sprint

    HI all I am a newbie I have been trying to figure out how to get pictures off my treo without having Sprint service. I bought a data cord and downloaded sync4.5. For some reason I am not able to get synced up with my computer which is running XP home

  • How do you set default programs for all users when deploying Windows 8.1?

    I have my Windows 8.1 image set up the way I want including the start screen, theme, etc. But how can I set the default programs for all users. Most of out computers are non-touch and I want the desktop apps (e.g. Windows Photo Viewer), not the store