Decent editor?

Hi there,
I'm about to take over a legacy project written in PL/SQL. It's not a very large project but some of the functions are very large, i.e. the kind of functions that would make make Godzilla look like a cute and tiny reptile. I've worked with a lot of languages over the years and I'm a proficient and experienced Java programmer but my experience with PL/SQL is almost non-existant so please forgive me if my questions are at a very basic level.
First of all, I have an immense urge to refactor the larger functions, both in order to get a feel for the language and to ease further maintenance. However, I have the following problems:
1) Currently the project is maintained in PL/SQL Developer. Being used to 21st century IDEs like Eclipse and IntelliJ IDEA, the PL/SQL Developer seems like rather shoddy and "old school". I definitely miss some refactoring support, such as the ability to easily extract code or rename functions. Also, editing code directly in the database makes it very difficult to implement version control (currently there is none at all). I suppose that a viable soultion would be to edit a local copy (under VCS control, of course) and let a build script upload the code to the database. Anyway,
a) Would this idea make sense?
b) I can't be the only one facing this problem. So, what is everyone else doing?
c) Can anyone recommend a decent PL/SQL IDE?
2) This one is more language related. I find that when I define a new function, I have to define (and, in the long run, maintain) the signature part in both the package definition and the package body. This seems like a pain, and in any case it's an unnecessary redundancy. Most of the methods that I define while refactoring are really just "private" methods of no concern to other packages. Is there any way for me to avoid having to maintain the signature in two places?
Thanks in advance :)
/Martin Olsen, Norway

First off, I feel your pain. Nothing worse than having to clear up someone elses mess ;-)
However i have some tips that should help you in your quest....
Firstly source control is key with PL/SQL code (as with any other language).
What our developers do is use eclipse for java/client coding but also use its built in CVS features for managing the PL/SQL files also i.e. we check our PL/SQL files in and out of our repository. Therefore managing changes made by multiple developers.
The important thing we have is the ability to build a schema from the repository by clicking a simple using a one click ANT target (using the ant view in Ecplise) which allows two developers to work on their own deveopment schemas in isolation, safe in the knowledge that they have an up to date code, and then only publish their updates once they are finished and fully tested. Needless to say there are complications sometimes but it's worked fairly well for our small-to-mid sized team.
The other advantage our schema rebuild utility allows is regular, automated testing. We regularly run (i.e. every 2 hours or so) a full rebuild and full run of all our unit test (client/java/ and pl/sql) this helps us ensure our repository code is clean. The developer can also run all tests (or a subset of tests) at any time to make sure what they have done isn't going to break something elsewhere. This is also done using the ANT from within eclipse. It's not as integrated as JUnit is but it's better than manually running all your tests.
You can either write the tests manually using the framework mentioned briefly above (utplsql) it's based on nunit (the parent to Junit) so it should be familar to a java developer. or you could use QUTE, also mentioned above.
I have to disagree with your "review" of PL/SQL developer. As user a few oracle IDEs I've found PL/SQL Developer to be the one I get on best with. And I thought I should mention that if you're on a fairly up to date version, it has a good set of refactoring features. See below for an extract from the help file (saves me typing ;-) )
The refactoring function allows you to quickly reorganize your PL/SQL code. It works on the selected code, or – if no selection is made – on the current statement. Right-clicking on a statement or selection provides the following refactoring functions in the corresponding submenu:
· Rename item
Renames the current variable, parameter, constant or program unit. Both the declaration and usage will be renamed.
· Extract procedure
If a program unit has become too large or too complex, you can make a selection and convert it to a separate procedure. All variables used within and outside of the selection will be converted to parameters. All variables used only within the selection will be moved from the current program unit to the new program unit. The selection will be replaced by a call to the new program unit.
· Extract local constant
If a certain expression should be converted to a local constant, you can select it and provide the constant name. A local constant will be created within the current subprogram, of a type that is determined from the expression. All occurrences of the expression in the current subprogram will be replaced by the constant name.
· Extract global constant
If a certain expression should be converted to a global constant, you can select it and provide the constant name. A global constant will be created within the current package, of a type that is determined from the expression. All occurrences of the expression in the current package will be replaced by the constant name.
· Replace assignment with initialization
If a local variable assignment is purely for initialization, you can move it to the declaration of the variable. You can right-click on a statement or select multiple statements.
These options are available from the context menu.
Finally, to address your finaly query, as you are a Java developer I'd suggest you treat the package specification (definition) just as you would treat an interface class in java and treat the package body like the interface implenentation. This should keep you straight till you get to grips with the language ;-)
I hope you find some of this helpful and one final tip, usually when a procedure is HUGE it can mean there is too much procedural logic going on i.e. too much PL/SQL code (loops, if statements, SQL statements) that could be reduced by using SQL a little better.
I'm not saying every big procedure is wrong just that there's a chance that if you see a lot of SQL statements, loops or IF staments there;s a good chance it can be reduced to one or two SQL statements.
good luck

Similar Messages

  • How do I create global settings for Firefox 6.0.2. deployment?

    Hello everyone,
    I hope someone can help. I'm getting very frustrated that Firefox 6.0.2 is not enterprise deployment friendly. Basically, I want to create a 6.0.2. software package that allows me to do the following:
    1. set the home page for current and existing users
    2. disable ALL updates
    3. disable the "you're almost there page"
    4. disable automatic updates
    5. disable "check for updates" when clicking on the Firefox help "about" menu
    I read all of the online documentation to create a prefs.js file and place it in c:\program files\mozilla firefox\default\. The settings don't get carried over for existing or new users. Each individual user profile can't be modified as this version is going out to 1100 workstations. Firefox 6.0.2. automatically upgrades to version 8 which isn't ideal due to some in-house plugins not being compatible.
    I've tried other things such as channel-prefs.js, local-settings.js, lock prefs, mozilla.cfg, user-pref.js, user-chrome.css.... Absolutely nothing.... Very frustrated. Can anyone shed some light as to what I may be doing wrong?
    The next thing was to create an alloborate script that copies the prefs.js file and find every single Firefox user profile on a machine and overwrite it. This is not ideal.
    Any thoughts or comments are greatly appreciated.

    I have downloaded the suggested add-on (gmarks-1.0.3.3-fx.xpi) but could not open and install it. Then I tried to install it by dragging and dropping it to the FF window. It installed and I restarted FF as instructed but it did not work.
    Incidentally, I found the problem solved earlier, one week ago by thalgas on a similar problem ( unable to sign in from google toolbar) posted by giantjudge. The solution worked for me. His solution is as follows:
    '"Google changed the login from
    www.google.com/accounts
    to
    accounts.google.com
    Solution: Open up toolbar.js with a decent editor (''search for the file toolbar.js, right click it and open it with notepad'')
    Find: www.google.com/accounts"
    and replace ALL with: accounts.google.com
    Restart FF 6.
    Login through the toolbar. Enjoy. '''
    cflammen has this for anyone who is looking for the file.
    For anyone looking for toolbar.js location, it will be in: C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\<xyz>.default\extensions\<{xyz}>\lib

  • Print or Export an HTML Report SQL Developer 1.5.5

    I have created an HTML report using the plsql-dbms_output report style. Unfortunately, I do not see a way of printing or exporting the report. If I select File - Print, it just prints a snapshot of the workspace. Also, I do not see any options for exporting the report. Of course, exporting the report would only be useful if it is saved as an HTML file preserving all the formatting.
    Can anyone shed some light on what I may be doing incorrectly or provide an alternate method for sharing an HTML report?
    Thanks,
    Jim

    I haven't seen printing working correctly ever, in any version.
    I suggest you copy/paste the output to a decent editor and print from there...
    Regards,
    K.

  • Getting started: Splitting video, simple titles/credits

    I'm a brand-new owner of Adobe Premiere Elements. I'm a huge fan of Adobe products, though, and am an experienced Photoshop user.
    What I need to do is very simple:
    1) Split approx. 30 minutes videos into  2-3 parts (10-15 minutes in length, depending on which site I'm uploading this to)
    2) Add simple text title and credits
    That's it, for now. I've ordered a copy of "Adobe Premiere Elements 8: The missing manual" to learn how to use this software, but until then, could someone please direct me on how to perform these simple tasks? I could do them in Windows Movie Maker, but using that software was painful, so I wanted to get a decent editor.
    I'll worry about more complicated stuff later. For now, help please? Links to tutorials, hand-holding, whatever is greatly appreciated

    Welcome to the forum.
    Unfortunately, you've posted to the Tips & Tricks sub-forum. This is a repository for articles on how to do things in PrE, and does not see nearly the traffic as the main forum. Hopefully, our MOD, Steve Grisetti, will move this out to the main forum.
    Now, you have a couple of choices on how bes to do what you want.
    The first is to use just "instances" of your main Clip. Let's call it the "master" Clip, but that term has other meanings in other editing programs. What you drag to your Timeline is NOT the Clip itself, but an instance of it. If you just wish to extract a portion from it, look in your Project Panel, where it will appear, after you either Capture, or Import it. Dbl-click on it, and it will open in the Source Monitor (looks a lot like the Program Monitor, but with options). Move the CTI (Current Time Indicator) to where you wish your new instance to begin. You can use the playback controls, or click-drag on the CTI. You can step forward, or backward, via the Arrow Cursor Keys to get to the exact Frame that you want to start with. Set your In-Point to that Frame (little bracket on the Source Monitor), and then go to where you want this instance to end. Set the End-Point (opposite facing bracket). Now, just drag from the Source Monitor to the Timeline and you will have an instance from that master Clip of the exact Duration, and with the proper In & Out Points set. This you can Export/Share. You have not altered your master Clip in any way. You can repeat this process, over and over, if you wanted to join up several segments from the master Clip.
    Second way would be to drag the master Clip from the Project Panel to the Timeline. Using the CTI there, go to where you want to Cut, and press Ctrl+K to Cut both the Video and Audio. Now, go to the end of the material that you want to remove, and repeat. Select that material to be deleted, Rt-click and choose Delete and Close Gap. Repeat, as is necessary. Export/Share, when done.
    Good luck,
    Hunt

  • Storing shooting notes in lightroom catalog

    I've searched (both forum and google) for an answer to this question, but haven't found anything, so perhaps I am unique in my desires or I am just not using the right terminology.
    I like to keep my catalog organized by event, with all photos from a single event in a single folder.  I keep detailed shooting notes for the event, which I historically managed as a simple text file editing using TextEdit and saved to the same directory.  However, this requires me to leave lightroom and fiddle with the file system directly.  There is also no way to easily see if the file is in the directory where it belongs without "right click, open in Finder".
    Is there some trick in Lightroom, or plug-in that someone has developed, or feature request for Lightroom 5 that I can upvote?  I think what I'd really like is folder-level metadata, and a decent editor for it.
    Any thoughts from the community greatly appreciated.

    I think there is a plug-in that adds a metadata field for personal notes. But I don't know it's name. But you should be able to find it with a Google search.
    What I sometimes do is this: Create the notes in a word editor, import the text (via copy - paste) into Photoshop and create a jpg from the text. Then import into the folder in Lr.
    It's a bit cumbersome but it allows me to read the note in Lr when the image is displayed. With some "clever" file naming the text-jpg will always be the first image in the folder.

  • Bookmarks menu used to work fine. Recently, now when clicking the "bookmarks" menu, it says, "sign in to access your Google bookmarks," but it does no good.

    Running Firefox 3.6.3.
    The "bookmarks" menu is at the top of the page.
    The "bookmarks" menu used to work fine.
    Now when clicked, the "bookmarks" menu says, "Sign in to access your Google bookmarks."
    After signing in to Google, the "bookmarks" menu still does not work, and continues to repeat the "Sign in to access your Google bookmarks."

    Looks like Google changed the domain for Google accounts. You'll need to edit the Google Toolbar extension to have the new URL. The alternative id for Google to update their Google Toolbar program for Firefox, but I doubt of that will happen - they have recently dropped support for Firefox. I found these instructions in another support forum.
    Open up toolbar.js with a decent editor.
    Find:
    www.google.com/accounts
    and replace ALL with:
    accounts.google.com
    Restart FF.
    Login through the toolbar. Enjoy.
    My advice is to get your bookmarks from Google and import them into Firefox itself. If you want a backup service for your bookmarks, use Firefox Sync or Xmarks instead of Google Bookmarks.

  • Exceptions vs defensive programming

    Hi...
    Which of the following two code fragments is 'better'... bearing in mind that Java's exception handling syntax is commonly touted as aiding readability, allowing programmers to focus on the 'task' rather than a nest of 'if' statements and suchlike? I'm just askin' outta interest's sake...
    Fragment 1...
    public void actionPerformed (final ActionEvent e) {
         if (_target != null && _clipboard != null) {
              Transferable clipContents = _clipboard.getContents (null);
              if (clipContents != null) {
                   if (clipContents.isDataFlavorSupported (DataFlavor.stringFlavor)) {
                        try {
                             String contents = (String) clipContents.getTransferData (DataFlavor.stringFlavor);
                             if (_target.getSelectedText () != null) {
                                  //replace the selection with the contents of the clipboard
                                  _target.replaceSelection (contents);
                             else {
                                  //insert the contents of the clipboard ahead of the current insertion point
                                  int insertionPoint = _target.getCaretPosition ();
                                  _target.getDocument ().insertString (insertionPoint, contents, null);
                        catch (final BadLocationException ble) {
                             //bleep! **((*!@4%@!! :D
                             Toolkit.getDefaultToolkit ().beep ();
                        catch (Exception ignoredForNow) {}
    }Fragment 2...
    public void actionPerformed (final ActionEvent e) {
         try {
              Transferable clipContents = _clipboard.getContents (null);
              if (clipContents.isDataFlavorSupported (DataFlavor.stringFlavor)) {
                   String contents = (String) clipContents.getTransferData (DataFlavor.stringFlavor);
                   if (_target.getSelectedText () != null) {
                        //replace the selection with the contents of the clipboard
                        _target.replaceSelection (contents);
                   else {
                        //insert the contents of the clipboard ahead of the current insertion point
                        int insertionPoint = _target.getCaretPosition ();
                        _target.getDocument ().insertString (insertionPoint, contents, null);
         catch (final BadLocationException ble) {
              //bleep! **((*!@4%@!! :D
              Toolkit.getDefaultToolkit ().beep ();
         catch (final NullPointerException npe) {
         catch (Exception ignoredForNow) {}     
    }

    I totally disagree with not having more than one return statement.
    I have had to maintain code like this and it is a total mess:
        boolean continue = true;
        int a = getSomeInfo();
        continue = someCheck(a);
        if (continue) {
            // do some stuff with a
            continue = someCondition();
        if (continue) {
           // do some other stuff with a
           continue = anotherCondition();
        //etc.
        return a;
    }The problem with this is really hard to detemine what gets returned when you try to read the code. I think the idea that one exit point in a function makes things more simple is total crap. Sometimes it is better but I'd rather see this.
        boolean continue = true;
        int a = getSomeInfo();
        if (someCheck(a)) return a;
        // do some stuff with a
        if  (someCondition()) return a
        // do some other stuff with a
        if (anotherCondition()) return a;
        //etc.
        return a;
    }This way you at least have the compiler on your side helping you make sure your conditions are reachable and so forth. Also, in any decent editor keywords like return are easy to spot and therefore are easier to see than a = something(). The idea of a single exit point was very valid before try catch finally, it helped make sure clean up was done. With finally you can forget that rule.
    Here's another good example where one exit point can be a pitfall.
    public String method(int value){
       String returnString;
       switch (value) {
          case 1:
             returnString = "one";
             break;
          case 2:
             returnString = "two";
          case 3:
             returnString = "three";
        return returnString;
    }There are two major problems with this code that may not be immediately obvious (more so in a more realistic and complicated example.) 1. If the value entered is not 1, 2 or 3 the method returns null (which you may or may not want.) 2. if the user enters 2 the result will be "three"
    Now if you use multiple returns both of these problem are non-existant
    public String method(int value){
       String returnString;
       switch (value) {
          case 1:
             return "one";
          case 2:
             String returnString = "two";
          case 3:
             return "three";
    }Problem 1 will now cause a compiler error because not all paths of the method return a value.
    Problem 2 will cause the same error because you are not returning anything for 2 and there is no return statement after the switch.

  • Final Cut on 2.66 Macbook Pro?

    Hey everybody, last year I purchased a 2.66 GHz unibody Macbook pro, and I want to start doing my video editing on it since I already use it for everything else. I have used Sony Vegas on a pc until now, and find it to be a pretty decent editor, but I would really rather be able to do it all on my laptop and with Final Cut Pro.
    So my question is this, will Final Cut run smoothly on this computer? I tried the demo of adobe premier a few months ago, and HD footage from my HV-20 was really choppy to edit with, and not at all smooth looking in the preview window. From what I've heard Final Cut should run much smoother, but I was hoping someone on here might be able to tell me for sure on if this will work well, Vegas will run a really smooth preview even with hd footage and without any pre-rendering.
    Oh, and here is the full specs for the laptop.
    2.66 Ghz
    4gb DDR3
    NVIDIA GeForce 9400M 256MB + NVIDIA GeForce 9600M 256 MB
    Also, does final cut require you to render your footage before you can edit it with a real time preview?
    Thanks for any help, and to be clear, I understand that it will technically run on this computer, based on system requirements, I'm just wondering if it will run well.

    Welcome to the Boards
    You can get it running well, and you should use another Codec (i.e., make the footage Pro Res) Alot of it depends on configurations and what you are doing with the footage. The more things you add (corrections etc.) it can slow things down - some things can be real time, some may not.
    A high end tower configured properly (even an older tower) will often perform better than a newer laptop.
    In other words, it may or may not be better depending on set up and other factors. That being said, I have done alot of editing on my laptops and it has been fine, but for some things it is not the same as a tower, PC or otherwise. Also my laptops spec out less than the one you have, other than having an express slot to hook up eSata dribes. (You want to have footage on drives other than your laptop drive for better performance.)

  • Tag insight and closing tags problem

    I am a touch-typist, and as such, CF-Builder has a very irritating problem. Let me explain:
    One of the nice things about CFEclipse is that it senses when you have entered a closing element (i.e., #, }, ], ", etc.) When this occurs, it automatically moves the cursor forward WITHOUT leaving a duplicate. The fact that builder does NOT do this is very frustrating. It requires you to remove hands from the keyboard to hit the right-arrow, or you have to turn off the closing tags in the preferences.
    Other than that, seems like a pretty decent editor.

    I couldn't agree more. It's the little things that matter...

  • Demo version lacking...

    If Adobe is serious about getting me to drop 1,000 dollars for Adobe Effects CS5 they're going to have to do better than that for the downloadable demo.
    I do mainly green screen work with my AVCHD camcorder.
    First thing I find out is the demo version does not support AVCHD.  So how am I supposed to know whether editing AVCHD files work well in AE?  And no, I am not going to take anybody's word for it.  I've been bitten by shoddy AVCHD support before.  I currently use Sony Vegas Pro and AVCHD support is excellent there.
    So, fine... I convert some of my green screen clips to png image sequences and import that into AE.
    Then I find out that keylight is not even in the demo download.  Oh come, on!  Just how am I supposed to know if this is going to work for me or not?  $1,000 is a lot of money... and what can I test in the demo... nothing.  Nice going.
    I refuse to pay that amount of money unless I know _for sure_ that this product is going to work perfectly for me on my box.
    Marv

    Rick: "Giving you more room between the original pixel values to make adjustments" - that is what applying 16 or 32 bit effects do, and you reduce color banding that way.  Transcoding original source footage from 8 into 10 bits doesn't do that - you're just spreading 8 bits over 10 and very slightly altering the original color values (no you can not remap 8 bit channels exactly into 10... if you want to know why, ask me).
    By simply decompressing AVCHD footage you are in effect transcoding it from 422 or 444 or whatever YCbCr color space the footage was in, into 8 or 16 or 32 bit RGB color space, on the fly.  AE already does this.  No extra cost.  I am just merely asking for Adobe to fix a bug with their existing AVCHD decompressor that they've already created.
    One possible valid reason I can think of to transcode AVCHD clips into a format that doesn't use inter-frames, is if you were splicing them and re-rendering back out into AVCHD.  Because keyframes are present in the AVCHD stream only once up to every 300 frames, if you splice somewhere in between keyframes then you are in effect forcing a re-compression of that GOP (group of pictures), creating a new keyframe where you spliced the footage and re-creating up to 299 inter-frames from the splice point to the next keyframe.  This re-compression degrades the video, obviously.  Now there are ways around that without having to do a costly and disk-heavy transcode into a space hungry codec.  Let's say that you have a long footage you want to splice away unneeded parts to save disk space.  Don't splice exactly where you intend to show the video... splice away at a point at least 300 frames before and 300 frames after the usable segment.  Then when you re-compress to AVCHD the segment you intend to use is untouched.  If you're using a decent editor, the unedited GOPs should be copied unmodified from the original source to the new AVCHD clip.
    Another reason to transcode is if your computer isn't up to decompressing AVCHD clips in real time.  AVCHD codecs are very processor intensive, and most consumer grade computers will chug with AVCHD media.  However I have a pretty beefy computer, and can scrub 1080p AVCHD clips at full frame rate.
    My background: I am a video game programmer, and deal a lot with codecs.  I've written a few codecs myself over the years.  I write plugins for various video editing software on the side (Mostly Vegas Pro) doing stuff like motion tracking and optical flow and so on.  Currently I am working on something that is similar to Particular.
    I guess my point with this rambling is that is that my currently workflow is very nice, has low overhead, and does exactly what I need.  I don't currently need to waste a lot of time and disk space transcoding into a format that really buys me nothing.  All I need is a working AVCHD codec that doesn't mess up the decompression.  You're obviously happy with your workflow, and so more power to you.  But it's really not for me.
    Marv

  • UCCE CAD Workflow Assignments

    I'm looking for a good method for auditing UCCE CAD workflow assignments.  Currently, I have to open up the CAD Desktop Administrator and view every single agent to verify that they are assigned to the correct workflow group.  Has anyone come up with a method for exporting this from CAD?

    Yes, it's a problem when you have lots of agents you need to check. At one customer we have over 600 agents configured with 20 or so workflows (one per country) and it's a real pain to check.
    I use the free LDAP browser from Jarek Gawor (version 2.8.2) and make an anonymous connection to the CAD LDAP like so:
    Then export the appropriate part as a text file. Examine the text file with a decent editor or "grep" and check your assignments. Easy peasy.
    Regards,
    Geoff

  • List of forum editor issues and bugs

    This thread is work in progress. Please report additional bugs and issues you are aware off. I will try to reproduce the issue and add your information to the appropriate columns below. Thanks!
    Note: For accurate results, the width of your web browser window needs to be adjusted to show the following dotted line as a single line. Your screen resolution needs to be at least 1280 pixels wide.
    Issue
    Date
    Summary
    Browser
    Status
    Remark
    1
    08-Jan-2014
    last verified
    24-Aug-2014
    Text copied from discussions, such as code, result in double line spacing when copied to the host system.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    fixed
    fixed
    1.1
    1.2
    2
    08-Jan-2014
    last verified23-Aug-2014
    Cannot append text or code to Syntax Highlighting.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    3
    08-Jan-2014
    last verified23-Aug-2014
    Cannot properly select text or code with Syntax Highlighting.
    Firefox
    Internet Explorer
    Safari
    Chrome
    improved
    fixed
    fixed
    fixed
    3.1
    4
    08-Jan-2014
    last verified23-Aug-2014
    Subsequent edit sessions add empty lines to Syntax Highlighting code.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    5
    08-Jan-2014
    last verified23-Aug-2014
    Copying text under Syntax Highlighting includes line numbers.
    Firefox
    Internet Explorer
    Safari
    Chrome
    improved
    open
    fixed
    fixed
    5.1
    5.2
    6
    08-Jan-2014
    last verified23-Aug-2014
    Cannot copy and paste the whole Syntax Highlighting frame.
    Firefox
    Internet Explorer
    Safari
    Chrome
    improved
    fixed
    improved
    improved
    6.1
    6.3
    6.3
    7
    09-Jan-2014
    last verified23-Aug-2014
    Syntax Highlighting suppresses empty lines and white space when browsing.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    8
    08-Jan-2014
    last verified23-Aug-2014
    Syntax Highlighting overwrites font.
    Firefox
    Internet Explorer
    Safari
    Chrome
    improved
    improved
    improved
    improved
    8.1
    8.1
    8.1
    8.1
    9
    09-Jan-2014
    last verified23-Aug-2014
    Cannot paste any text into the editor window.
    Firefox
    Internet Explorer 11
    Safari
    Chrome
    working
    fixed
    working
    working
    10
    09-Jan-2014
    last verified23-Aug-2014
    Cannot change the font when selecting several lines of text.
    Firefox
    Internet Explorer
    Safari
    Chrome
    improved
    working
    fixed
    improved
    10.1
    10.1
    11
    09-Jan-2014
    last verified23-Aug-2014
    Changing the font gets confused and shows the wrong font.
    Firefox
    Internet Explorer
    Safari
    Chrome
    improved
    working
    open
    open
    11.1
    11.3
    11.3
    12
    09-Jan-2014
    last verified23-Aug-2014
    Pasting a URL captures the text insertion point.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    13
    16-Jan-2014
    last verified23-Aug-2014
    Quoting captures insertion point.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    14
    24-Jan-2014
    last verified23-Aug-2014
    Adding HTML label tag for no apparent reason.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    15
    28-Feb-2014
    last verified23-Aug-2014
    Undo disables functions, such as Quote and Syntax Highlighting and results in complete loss of text when attempting to post.
    Firefox
    Internet Explorer
    Safari
    Chrome
    Improved
    working
    working
    working
    15.1
    16
    28-Feb-2014
    last verified23-Aug-2014
    Syntax Highlighting shows several <span> when browsing.
    Firefox
    Internet Explorer
    Safari
    Chrome
    fixed
    fixed
    fixed
    fixed
    17
    23-Jun-2014
    last verified23-Aug-2014
    When specifying a table width, typed numbers are falling through and land the table as text.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    open
    open
    18
    23-Aug-2014
    Quoting of content with Syntax Highlighting looks fine when editing, but when posting, quoting around SH is removed.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    open
    open
    19
    22-Aug-2014
    Text like "Patch 11.2.0.3" are converted to non-functional hyperlinks when posting.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    open
    open
    20
    20-Jul-2014
    last verified23-Aug-2014
    The editor toolbar disappears behind the forum banner when scrolling to the next page.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    open
    open
    21
    17-Nov-2014
    Insertion point displayed in text under Syntax Highlighting is not showing the real position.
    Firefox
    open
    22
    23-Aug-2014
    Hover-up and pop-up menus are in the way then typing text in tables and code under Syntax Highlighting.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    open
    open
    23
    23-Aug-2014
    Copying text from the first post of a thread includes a grey background.
    Firefox
    Internet Explorer
    Safari
    Chrome
    working
    working
    open
    open
    24
    24-Aug-2014
    Copy and paste does not retain the size of a picture and resizing produces bad quality images. Resizing also no longer shows picture dimensions. Copying images between documents does not copy size settings.
    Firefox
    Internet Explorer
    Safari
    Chrome
    open
    open
    open
    open
    25
    17-Nov-2014
    Copying and pasting of text determine the source format and creates unwanted or useless tables, affecting also Syntax Highlighting.
    Firefox
    open
    26
    17-Nov-2014
    Adding additional rows to tables do not inherit the previous cell formats, such as vertical and horizontal center line.
    Firefox
    working
    27
    02-Dec-2014
    The Jive spell-checker is difficult to use. Pointing and clicking of marked text has to be very precise in order to function, or the spell-checker deactivates itself.
    Firefox
    open
    Ref. No.
    Remarks
    1.1
    Pasting of regular text results in double-line spacing. Pasting of code with Syntax Highlighting does not produce double-line spacing, but includes line numbers when pasting in a rich text editor window, or results in indented lines when pasting to the command prompt or plain text window.
    1.2
    Pasting of code with Syntax Highlighting includes line numbers when pasting into notepad or to the command prompt. Copying of normal text does not wrap and appears a single line when pasting into notepad.
    3.1
    Selecting of code and copying works, but selected text looks like a tape and is not visible.
    5.1
    Copy works find and does not include line numbers, but the text is indented.
    When pasting text into a rich text enabled editor window, it includes line numbers.
    5.2
    Code in syntax highlighting does not copy blank lines, but copies line numbers.
    6.1
    Only parts of a code segment can be copied, but not the complete code segment. Copy and paste always copies an additional line that was actually not selected.
    6.3
    Copy and paste only copies the code but not syntax highlighting, which can however be can be re-applied.
    8.1
    Applying syntax highlighting now applies a font that is suitable for displaying code.
    However, it is not possible to change the font, if necessary, or apply color or bold or highlighting. Color can be applied, which looks like double-vision, but anyway is removed when posting.
    10.1
    Not working reliably. Sometimes the last line selected is not changed, or only the first line changes.
    11.1
    Sometimes fonts are not displayed properly, for instance, the text insertion point may show Arial, but the text is Courier. There is no clear pattern when this happens or what triggers the problem.
    11.3
    The text insertion point or selected text always reports the font name "font family", regardless of the font applied.
    15.1
    Ctrl-z aborting editor functions under Firefox on Mac OS X. However, Cmd-z, which is standard, works properly. This problem does not affect Safari.
    Issue
    Steps to reproduce
    Workaround
    1
    Copy a couple or more lines of text from a discussion window and paste it into any application or document on your host system. For instance:
    The following may produce double line spacing:
    If there are two or more ways to do something, and one of those
    ways can result in a catastrophe, then someone will do it.
    The following should work correctly:
    If there is a possibility of several things going wrong, the one that will
    cause the most damage will be the first one to go wrong
    Use Shift-Return instead of Return to terminate the end of lines when creating text.
    Use a different browser to perform cut and paste operations, such as Apple Safari or Google Chrome.
    2
    Paste some text code into the forum editor window. Select the code and choose Syntax Highlighting:Plain from the editor toolbar (>>). Close and re-edit the thread. It is not possible to place the insertion point below the block of code in order to add any additional lines of code or to add any normal text. For instance:
    mknod compress_pipe p
    mknod export_pipe p
    chmod +rw export_pipe compress_pipe
    nohup split -b 8192m < export_pipe &
    nohup gzip < compress_pipe > export_pipe &
    exp system/passwd full=y direct=y consistent=y compress=n \
    buffer=10485760 file=compress_pipe
    It is possible to insert additional code or text below Syntax Highlighting, provided the frame it is not the end, as shown in issue 7.
    Add any line of text at the end of your code before applying Syntax Highlighting to the lines above.
    Adding code within the frame of Syntax Highlighting works in Safari and Google Chrome.
    3
    Re-edit a post with Syntax Highlighting. It is not possible to properly select any lines of code. An additional empty code line is added and the focus is shifted. The selection mask does not match the actual text. It is pretty much impossible to re-edit Syntax Highlighting.
    Screenshot: http://img24.imageshack.us/img24/6121/viun.jpg
    Use Safari or Google Chrome when to re-edit text or code under Syntax Highlighting.
    4
    Every subsequent edit of a post with Syntax Highlighting adds an empty blank line to the code block with an incremented line number. The resulting empty lines (07, 08) shown in the screenshot cannot be selected or removed unless there is text below the code frame as shown in issue 7. Screenshot: http://img809.imageshack.us/img809/5514/cxkd.jpg
    Removing of empty lines woks in Safari and Google Chrome.
    5
    When browsing code with Syntax Highlighting, it is not possible to select the code without the line numbers. Screenshot: http://img835.imageshack.us/img835/6626/j7n7.jpg
    Select and copy each line separately. Or use Firefox or Google Chrome, but note issue in Remark 5.
    6
    When editing, it is possible to copy and paste lines under Syntax Highlighting when selecting the lines, but not when selecting the complete Syntax Highlighting frame.
    Carefully select text without the Syntax Highlighting frame boundaries.
    7
    Empty lines and white space (identation) in Syntax Highlighting are suppressed when browsing, although they exist in the actual post. For instance:
    mknod compress_pipe p
       mknod export_pipe p
    Screenshot when editing the above code:
    http://img401.imageshack.us/img401/673/kmy4.jpg
    8
    Syntax Highlighting changes the font to Arial and it is not possible to apply something more suitable for the displaying of code, such as fixed-width Courier New.
    mknod compress_pipe p
    Arial: 1l0OI
    Courier New: 1l0OI
    Arial: 1l0OI
    Courier New: 1l0OI
    9
    It is not possible to paste any text into the editor window.
    Use a different web browser or downgrade to IE 10.
    Or enable F12 Developer Tools from the Tools menu. Press Ctrl-8
    Change the default document mode from Edge to IE 10. Select Leave this page.
    10
    Create a new thread and type several lines of text. Then select select several lines of text and choose a font, e.g. Courier New. Not all selected lines are changed and only a couple of lines remain highlighted. For instance:
    It is difficult to prove the existence of aliens.
    Photos exist with aliens, but they could be fake.
    On the other hand, photos without aliens could be fake too.
    11
    Select a line of text and change the font to Courier New. Then select the line again and it will show Arial. Change the font to Courier New and the text will change back to Arial.
    12
    Copy a URL and paste it into the editor window. The URL will be shown as a hyperlink using blue text. It is not possible to continue with normal writing without changing the text of the link. The text insertion point is captured inside the text of the link when trying to click below the link.
    After pasting the URL, use the arrow key or mouse to move the cursor to the end of the link, then press RETURN and start writing normally. You can than move the cursor to the beginning of the line and use BACKSPACE to move the text up, after the link.
    13
    When replying to a thread and pressing the Quote Previous Message button and then clicking inside the quoted text, for instance, to remove some of the content, it is sometimes no longer possible to move the text insertion point outside of the quoted text back to the normal editing area.
    When this happens it helps to switch to HTML and then switch back to the Full Editor.
    14
    While writing normal text in the editor, it sometimes becomes impossible to edit a line of text. When clicking on any text to move the text insertion point, it selects the complete paragraph instead. http://imagizer.imageshack.us/v2/800x600q90/585/d0v5.jpg. When pressing the "Post Message" button, a dialog appears to "Stay" or "Leave" the page.
    Apparently the editor adds HTML label tags for no apparent reason, which can be seen when switching the editor to HTML mode. http://imagizer.imageshack.us/v2/800x600q90/199/1r5a.jpg
    15
    Copy some text into the editor window. Select the text and choose Syntax Highlighting form the >> insert toolbar. Undo using Ctrl-z. It is no longer possible to use any of the >> insert functions. After that it is also not possible to post the message, resulting in an unexpected error and the content is lost.
    16
    Syntax Highlighting shows several <span> at the beginning and end of the Syntax Highlighting block after posting. This affects old and new posts.
    17
    When changing the width of a table column, entering the 2nd number gets punched into the cell content instead.
    After entering the first number, click in the entry field again to enter the 2nd number.
    18
    19
    Automatic insertion of links to support.oracle.com contains more info, including responses from Oracle staff.
    20
    Change the width of browser window until the editor toolbar appears. It will then stay on top when scrolling through pages.
    21
    Select Syntax Highlighting, Plain from the >> insert menu, then copy and past several lines of text (code) into it. Or, copy and paste the text, then mark the text with the mouse and select SH from the insert menu. Many times, the insertion point is not reflecting it's actual position when you click inside the text. Very often it is also not possible to position the insertion point to the end or beginning of a line using the left and right arrow keys; the insertion point jumps to the next line, even though the end of the line has not been reached.
    For instance:
    The text insertion point [|] is showing up between the words "point" and "is", but when pressing the delete key or entering text, it affects a different area.
    22
    The following is a picture with text and Syntax Highlighting.
    In tables, pressing the delete key will remove or rearrange the hover-up window.
    23
    The original or initial post of a thread is shown with a grey background when browsing. Depending on the web browser application, this background is also copied when doing a copy and paste of the text, provided the target window supports rich text editing.
    Change the target editor window to plain text.
    24
    After resizing a pasted image to the same size than the original, the quality is much worse. The following shows a screenshot of the original and copied image:
    When resizing a picture by moving the image end-points, the editor does no longer show the current picture dimensions (pixel x pixel) as it did in Jive 5. Also when copying a picture between documents, the picture is enlarged and requires resizing.
    25
    Copy and paste content from /etc/oratab, for example:
    The same also happens when pasting the text into a Syntax Highlighting field.
    It is often necessary to use undo (ctrl-z, cmd-z) to get rid of the mess.
    26
    Please see below screenshot:
    27
    Message was edited by: Dude!

    moniquevdb_oracle wrote:
    Holy.... wow, this is helpful, thank you so much for kicking this off, Dude!
    BluShadow I know you are in favor of reenabling code formatting and ditching the Syntax Highlighter altogether. I've also heard that users would prefer the advanced editor to open by default. Anything else on the wishlist?
    correction, I would certainly be in favour (favor to you ) of reenabling code tags, mainly because I work quicker by copy/paste and by keyboard than by having to click through a load of buttons (that currently don't do what they should).  I've not said that syntax highlighting should be ditched altogether, and I'd certainly be in favour of it being there, just so long as it provided a decent formatting that was appropriate, so code actually looked like code, and the ability for people to copy/paste the code out of the forum to their own environment wasn't corrupted with double line spacing (as dude has already mentioned) and the addition of the line numbers it puts in (the line numbers are useful for reference on the forum, e.g. when we want to say "you're problem is on line X", but not good when you copy/paste code out to your environment and have to spend ages deleting them all to get the code to do anything).  If it's too difficult, then removing the line numbers from the code formatting would be preferable to having them there and not being able to copy the code out without them.
    I agree with dude that it would be good to be able to highlight portions of code with bold or colours, which the old forum didn't allow, but this one does, so it's really a combination of old and new that's needed.  And as dude highlights, the supressing of blank lines is a pain as it can make the posting of multiple code commands become all compressed and difficult to read, and is not representative of what we have in our interfaces such as SQL*Plus etc.
    Basic example:
    Copy paste from my SQL*Plus window into the forum (and me applying courier new and quoting it)...
    SQL> select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE                    SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-1980 00:00:00        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-1981 00:00:00       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-1981 00:00:00       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-1981 00:00:00       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-1981 00:00:00       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-1981 00:00:00       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-1981 00:00:00       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-1987 00:00:00       3000                    20
          7839 KING       PRESIDENT            17-NOV-1981 00:00:00       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-1981 00:00:00       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-1987 00:00:00       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-1981 00:00:00        950                    30
          7902 FORD       ANALYST         7566 03-DEC-1981 00:00:00       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-1982 00:00:00       1300                    10
    14 rows selected.
    SQL> select * from dept;
        DEPTNO DNAME          LOC
            10 ACCOUNTING     NEW YORK
            20 RESEARCH       DALLAS
            30 SALES          CHICAGO
            40 OPERATIONS     BOSTON
    SQL>
    but in my SQL*Plus window it looks like.
    SQL> select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE                    SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-1980 00:00:00        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-1981 00:00:00       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-1981 00:00:00       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-1981 00:00:00       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-1981 00:00:00       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-1981 00:00:00       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-1981 00:00:00       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-1987 00:00:00       3000                    20
          7839 KING       PRESIDENT            17-NOV-1981 00:00:00       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-1981 00:00:00       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-1987 00:00:00       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-1981 00:00:00        950                    30
          7902 FORD       ANALYST         7566 03-DEC-1981 00:00:00       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-1982 00:00:00       1300                    10
    14 rows selected.
    SQL> select * from dept;
        DEPTNO DNAME          LOC
            10 ACCOUNTING     NEW YORK
            20 RESEARCH       DALLAS
            30 SALES          CHICAGO
            40 OPERATIONS     BOSTON
    SQL>
    Obviously that's a basic example; in reality we can be providing a solution to someone, explaining multiple steps and commands to demonstrate their issue and the solution, and having to go back through the code once we've pasted it adding back in all the line spacings, is a real pain and time consuming.
    Certainly, having the advanced editor options available immediately for replying would be better than having to switch to it manually, especially as most people using these forums are going to want to paste code in (what with it being a technical forum and not really a social forum), and the basic editor just doesn't allow for any suitable code formatting (unless the person is mad enough to switch to HTML mode).

  • Netbeans GUI editor: Add an action on exit?

    Hello,
    I have a GUI built using netbeans GUI editor and I would like to execute some code just before the program exits. Does anyone know of a decent way to do this?
    Thanks,

    Hi,
    Just a remark. As a good practice, one should only extend Thread when one wants a Thread to have special capabilities.
    Generally, one should create a new Thread with a Runnable. So you could enhance your code as follows:
    public ShutdownRunner implements Runnable {
        @Override
        public void run() {
            USB_interface_K8055.JCloseDevice(); // Static JNI method
            System.out.println("Shutting down");
    }and
    // add shutdown hook for program
            Runtime.getRuntime().addShutdownHook(new Thread(new ShutdownRunner());Glad to be of help,
    Piet

  • PSE 10 both Organizer and Editor crash on multi-core hardware; set affinity to single cpu mode fixes

    As I have noted in thread http://forums.adobe.com/thread/941128 I have found that both the editor and the organizer for PSE 10 crash in a multi core environment, I am running WIndows 64 bit, latest updates (includes sp1), I had the same problems with Windows 7 32 bit.
    Solution is to set the affinity to a single cpu.  From the task manager, select the 'processes' tab, find the exe (eg PhotoshopElementsOrganizer), right-click, select 'Set affinity...' and reduce the number of CPUs selected (checked) to exactly one.  (Under different versions of Windows the exact means for doing this varies, but the essential steps are the same).  It doesn't matter which cpu you select, but if you do both the Editor and the Organizer, put them on different CPUs.
    Given that pretty well all hardware these days is multi-core, my assumption is that Adobe test in a virtualized environment and so do not discover this type of unreliabillity.  Adobe really do need to test their software more thoroughly as the exact same problem existed in PSE 6, so it is hardly new to them.

    The solution is in the above.
    Should Adobe read this, they should take note that a virtualized environment does not provide a decent fidelity emulation of multi-core CPU systems.  The ONLY way to test the reliability of an application is on REAL hardware.

  • How to burn decent resolution slide show onto DVD ?

    First of all I'm a newbie to this (PS8 Elements and Premier). I have a slide show with music in "Slide Show Editor". When I view this slide show in 'Full Screen Preview" I see a decent resolution but when I burn the slide show onto a DVD the resolution sucks if it's shown in "Full Screen". ( the slide show looks decent if shown in a smaller screen). I took the pictures with a 7 mega pixel camera. Another thing that happens when viewing "Full Screen" in the burned DVD is the text (if it fills the whole screen) some text is hidden around the borders.I burn the DVD in the Premier program.

    Thanks for your reply. I'll try what you typed but the
    hard part will be figuring how .

Maybe you are looking for

  • FF 4 uses 1.6 GB of RAM

    Firefox 3.x wasn't very good with RAM, but 4 is just plan absurd. I have AdBlock and FireBug installed (plus QuickTime & Flash). After viewing a bunch of web sites over a few days, I can close all of the tabs and windows down to a single one. FF stil

  • Document Splitting Profit center not filled in.

    Hi All, I wanted to check one scenario: I have document splitting activated on profit center field. I am trying to post a document as under: Line items as in <<<<entry view>>>>> Expense    Act     Dr  100         (CC1) (assigned to PC1) Expense    Ac

  • My contacts are receiving spam from my email, how can I stop?

    What is the best way to scan for virus on my MacBook Pro (OS X 10.5.8).  Yesterday at 10am I started receiving numerous bounced emails in my inbox from random contacts in my address book-some that are very old and I haven't used for years (hence the

  • Itunes closes out before download..please help

    I just received an iPod as a gift. I am trying to use it for the first time. I go to the indicated website from the instructions and when I click on the download iTunes for free icon my entire browser closes out. I am working with Windows XP...any he

  • My N73 is dead after a firmware update!

    Hey i just wasted my N73, I was traying to update the firmware, I did not make a back up of the cellphone, everything was ok until NSU gave me a message (sorry for my english).. something like: 1. Extract the battery 2. Insert the battery and connect