ListMarkerFormat indent bug?

Hello,
I'm having trouble working with lists, tabs and indents.
Below the testcode I'm using:
* @author  Stefan van Dinther
package {
import flash.display.Sprite;
import flashx.textLayout.formats.TextLayoutFormat;
import flashx.textLayout.container.ContainerController;
    import flashx.textLayout.elements.ParagraphElement;
    import flashx.textLayout.elements.SpanElement;
import flashx.textLayout.elements.TextFlow;
import flashx.textLayout.elements.ListElement;
import flashx.textLayout.elements.ListItemElement;
import flashx.textLayout.formats.ListMarkerFormat;
import flashx.textLayout.edit.EditManager;
import flashx.textLayout.formats.TabStopFormat;
public class ListTest3 extends Sprite
  public function ListTest3() {
   var textFlow:TextFlow = new TextFlow();
   var list:ListElement = new ListElement()
   list.listStyleType = "decimal";
   list.listStylePosition = "inside";
   list.paddingLeft = 0;
   var listMarkerFormat = new ListMarkerFormat();
   var tabStops = new Array();
   var tabstop = new TabStopFormat();
   tabstop.position = 70;
   var tabstop2 = new TabStopFormat();
   tabstop2.position = 180;
   tabStops.push(tabstop);
   tabStops.push(tabstop2);
   listMarkerFormat.tabStops = tabStops;
   listMarkerFormat.beforeContent = "- ";
   listMarkerFormat.afterContent = String.fromCharCode(0x9);
   var item:ListItemElement;
   item = new ListItemElement();
   item.listMarkerFormat = listMarkerFormat;
   var paragraphElement = new ParagraphElement();
   var spanElement = new SpanElement();
   spanElement.text = "Text starts here";
   paragraphElement.addChild(spanElement);
   item.addChild(paragraphElement);
   list.addChild(item);
   textFlow.addChild(list);
   var cs:Sprite = new Sprite();
   cs.x = 0;
   cs.y = 0;
   textFlow.flowComposer.addController(new ContainerController(cs, 400, 200));
   textFlow.flowComposer.updateAllControllers();
   addChild(cs);

Hello Richard,
I've found a workaround for the bug:
package
import flash.display.Sprite;
import flashx.textLayout.container.ContainerController;
import flashx.textLayout.edit.EditManager;
import flashx.textLayout.elements.ListElement;
import flashx.textLayout.elements.ListItemElement;
import flashx.textLayout.elements.ParagraphElement;
import flashx.textLayout.elements.SpanElement;
import flashx.textLayout.elements.TextFlow;
import flashx.textLayout.formats.ListMarkerFormat;
import flashx.textLayout.formats.TabStopFormat;
import flashx.textLayout.formats.TextLayoutFormat;
public class Test extends Sprite
public function Test() {
var textFlow:TextFlow = new TextFlow();
var list:ListElement = new ListElement()
list.listStyleType = "decimal";
list.listStylePosition = "inside";
list.paddingLeft = 0;
var listMarkerFormat:ListMarkerFormat = new ListMarkerFormat();
var tabStops:Array = new Array();
var tabstop:TabStopFormat = new TabStopFormat();
tabstop.position = 60;
tabStops.push(tabstop);
listMarkerFormat.tabStops = tabStops;
listMarkerFormat.beforeContent = "- ";
listMarkerFormat.afterContent = String.fromCharCode(0x9);
var textLayoutFormat:TextLayoutFormat = new TextLayoutFormat();
textLayoutFormat.paragraphStartIndent = 30;
textLayoutFormat.textIndent = -30;
var item:ListItemElement;
item = new ListItemElement();
item.listMarkerFormat = listMarkerFormat;
var paragraphElement:ParagraphElement = new ParagraphElement();
paragraphElement.format = textLayoutFormat;
var spanElement:SpanElement = new SpanElement();
spanElement.text = "Text starts here. Text starts here. Text starts here. Text starts here. Text starts here. Text starts here. Text starts here. Text starts here. Text starts here. Text starts here. Text starts here. Text starts here. Text starts here. Text starts here. ";
paragraphElement.addChild(spanElement);
item.addChild(paragraphElement);
list.addChild(item);
textFlow.addChild(list);
var cs:Sprite = new Sprite();
cs.x = 0;
cs.y = 0;
textFlow.flowComposer.addController(new ContainerController(cs, 400, 200));
textFlow.flowComposer.updateAllControllers();
addChild(cs);
Which gets what I want:
The workaround is this:
tabstop.position = 60;      (Which should be 30, but now i've added the paragraphStartIndent to the tabstop);
Another bug might be this:
if you remove the line:
//textLayoutFormat.paragraphStartIndent = 30;
(so only the textIndent of -30)
You lose the number 1:
greetings, stefan

Similar Messages

  • InDesign CS5 ePUBS Image Consistency across platforms

    Hello!
    I have a question I've been asking myself for months, and finally made an account here for the Adobe Forums, which seems to be pretty much the only place with useful information about ePubs.
    I work in a company that's planning on transferring over 70 print modules (between 80-150 pages each) to be available on iPad and Android tablets / phones.
    InDesign CS5 helps a lot, especially with being able to choose Header 1s as Page Breaks.
    But, I seem to be having some issues with a couple of things that's preventing us from publishing these documents to the Apple Store and Androind Market.
    1) Superscript / Subscript not appearing correctly on final product (Though this has been achieved by using Sigil to hack the CSS)
    2) Bullet alignment (The bullets are all aligned perfectly, just not along with the first line, creating a secondary weird indent bug that looks terrible)
    The main issue is pictures. I am using PNG images.   A few months ago, the problem was solved - If I chose NOT to automatically format my images, they appeared perfect on the iPad/iPhone/Galaxy Phone and Galaxy Tab.
    However, we took some time off this project, and now that I'm back on it, Aldiko has a new version, and it seems to break the images.  Now my images in Aldiko are displaying huge, and previously, you'd be able to hold a finger on an image and it would open up full screen to get a closer look, but all of that seems gone now, and I'll only get half of my image at best.
    Checking off to automatically format the images results in terrible low quality images that are so small you can barely see them.
    I've done some research and apparently Aldiko is one of the most used free e-readers for android, so I'd definitely like for our products to display fine on it.
    Any suggestions? Anyone else that experiences similar problems?

    Your question is rather an advanced one. I've observed that most of us who reply to ePUB questions here are still learning to make ePUBs.
    I've been told by someone more knowledgeable about it than I that the link below to the MobileRead Forums would lead you to more experienced ePUB creators who may be more helpful:
    http://www.mobileread.com/forums/

  • How to work around the java runtime bug -The indentation is overridden

    Hello all,
    I generate xml from a servlet and stream to client as the following code. It works fine in my local machine (The xml is indented nicely) but when the war file deployed on a geronimo server 2.0.2. (It uses java 1.5.0_16). The xml streamed out without indentation
                   response.setContentType("application/xml");
                   response.setHeader("Content-disposition","attachment; filename="+fileName);
                   // set up a transformer
                   TransformerFactory transfac = TransformerFactory.newInstance();
                   Transformer trans = transfac.newTransformer();
                   trans.setOutputProperty(OutputKeys.METHOD, "xml");                
                   trans.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
                   trans.setOutputProperty(OutputKeys.STANDALONE, "yes");
                   trans.setOutputProperty(OutputKeys.VERSION, "1.0");
                   trans.setOutputProperty(OutputKeys.INDENT, "yes");
                   trans.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");
                   // create string from xml tree
                   DOMSource source = new DOMSource(doc);
                   ServletOutputStream os = response.getOutputStream();
                   OutputStreamWriter w = new OutputStreamWriter(os, "UTF-8");
                   StreamResult result = new StreamResult();          
                   result.setWriter(w);
                   trans.transform(source, result);This is the bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6337981 (The indentation is overridden)
    I tried the work around suggested there by using OutputStreamWriter, it doesn't help.
    (I cannot change anything on the server. I have to accept whatever in the server)
    Please help
    Thank you
    Edited by: mycoffee on Jun 10, 2011 8:16 AM

    You have to set the indent level on the factory, see bug #6296446. This only affects 1.5; 1.6 allows you to set the indent level on the transformer, as you did (and for cross-version compatibility, setting it on both doesn't hurt).
    transfac.setAttribute("indent-number", Integer.valueOf(4));

  • (Bug?) How to unindent an indented bulleted list

    I have been trying to transition to Keynote 6.2 from version 5 and have found some "glitches" with the new interface, but one thing is particularly irritating:
    If I create a bulleted list, and indent some items in the list, then hit return after the last item to add a new bullet, there doesn't appear to be a way to unindent the bullet.  The unindent buttton doesn't work (it is greyed out) and neither does OPT-TAB. 
    Has anyone else run into a problem like this?  I am not sure if this is a bug restricted to my custom template I use for work.

    Format > Text > Decrease Indent, or command [

  • 10g Preview Bug: Auto Indent XML

    When auto-indenting an xml document with multi-line comments, each time you ask for the auto-indent, the trailing lines of the comment are indented further. The following example shows a document that is unintented, and then the same document after selecting auto-indent once, and then after auto-indenting the auto-indented document. The comments will keep moving to the right if I keep selecting auto-indent.
    Original:
    <tag>
    <subtag>
    <!--
    A multi-line comment.
    -->
    </subtag>
    </tag>
    Indented once:
    <tag>
      <subtag>
        <!--
        A multi-line comment.
        -->
      </subtag>
    </tag>
    Indented twice:
    <tag>
      <subtag>
        <!--
            A multi-line comment.
            -->
      </subtag>
    </tag>

    Hi Markus,
    Though this is not a UIX issue, request for Auto indent feature from application navigator for multiple xml (uix, uit, xss, and xml) files has been made. Your post has been passed to the IDE team which looks after these issues.
    Thanks,
    Vijay V
    Team UIX.

  • 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).

  • Incorrect indentation when using on-the-flying report generation and IF statement

    Reproduce steps:
    1. Use teststand version 4.2
    2. Turn ON on-the-fying report option.
    3. Report option -> INclude Step Results->Result Filtering Expression = Exclude Passed/Done/Skipped
    4. My simply code is
    For loop
       If something
          Do something
             If somethingmore
               Call Action and set Record Result = ON
            end if
      End IF
    End loop
    Issue:
        The test report generated for "Call Action" indents every new row. Because it is a long test, this make the test report very difficult to read. If there is a very long test, the test report is  become unreadable.
    Is there a solution for this issue?
    Thanks

    Hi Biet,
    Unfortunately this is a known issue with TestStand, which is documented in the TestStand 4.2.x Known Issues. This occurs in situations where you are using HTML reports with On-The-Fly Reporting and a Result Filtering Expression. To avoid this situation, you can do one of a few things:
    Use a different report format
    Turn off On-The-Fly Reporting
    Not filter the results
    If you must filter results, you can modify the process model slightly to improve the situation. Though this is not a complete workaround, it can help.
    First, configue your Report Options so that you are reporting All
    Results, rather than filtering. Leave On the Fly reporting ON. Next, we
    need to make a modification to your process model. In the process model,
    open the ProcessModelPostResultListEntry sequence. In this sequence,
    select the Process Step Result step, and select the Properties tab. On
    that tab, select the Preconditions category. The text for the
    precondition should be the following by default:
    !Runstate.Root.Locals.ReportOptions.DisableReportGeneration &&
    Runstate.Root.Locals.ReportOptions.UseOnTheFlyReporting
    Now, we want to modify this to be as follows:
    !Runstate.Root.Locals.ReportOptions.DisableReportGeneration &&
    Runstate.Root.Locals.ReportOptions.UseOnTheFlyReporting &&
    Parameters.Result.Status != "Passed" &&
    Parameters.Result.Status != "Done" &&
    Parameters.Result.Status != "Skipped"
    This
    new precondition essentially implements our own filtering. In the
    condition that I have supplied, we will not add entries to the report
    where the status is "Passed", "Done", or "Skipped". (You can add
    additional lines to add additional statuses to filter.) The limitation
    here is that the bug provides incorrect indentation, so the results may still be grouped slightly differently than they would be without the bug.
    I hope this helps!
    John M
    National Instruments
    Applications Engineer

  • Dreamweaver 8 'Brace balancing' bug

    One of the worst features of php is the reliance on braces
    for flow control.
    Although I try to carefully indent my code to indicate where
    I am, I frequently
    get into trouble because I have overlooked some brace
    somewhere. Dreamweaver's
    'Brace balancing' feature is a great help, but unfortunately
    in Dreamweaver 8 it
    suffers from a serious bug, in that it will balance on braces
    in comments, or
    even mistakenly placed in HTML code. It usually seems to
    ignore brackets, but
    this morning it is being thrown into confusion by a left
    bracket inside an
    assignment statement: $test_str = 'if(';
    Naturally this is in a complicated piece of code in which I
    have made some
    stupid mistake, and it makes the Brace balancing completely
    useless.
    Can anyone tell me if the latest version also suffers from
    this bug?
    Clancy

    .oO(Clancy)
    >Michael Fesser <[email protected]> wrote:
    >
    >>Have you considered to use SQL instead? You don't
    even need a full DBMS,
    >>SQLite should be enough in this case.
    >
    >This question is very relevant to my next question about
    saving files.
    >
    > I have actually got MySQL installed on my system, but
    after a quick look I
    >realised it would probably take me a month to learn how
    to use it, and I decided
    >I didn't really need it yet.
    It might take some time to get used to it and to grasp the
    various
    concepts like indexing and normalization for example, but
    then SQL is a
    really powerful tool with a rather surprisingly simple
    syntax.
    I was suggesting it because you're doing pretty much the
    same, just your
    own way. Currently you're building an 'if' statement
    on-the-fly to cater
    for a variable number and type of conditions to check
    against. You can
    do the very same thing with SQL and create complex queries
    from small
    different pieces. The condition part of such a query could
    then look
    like this:
    status > 3 AND status < 6 OR class = 'student'
    This is equal to
    status >= 4 AND status <= 5 OR class = 'student'
    which can also be written with a special operator to keep the
    query a
    bit more readable:
    status BETWEEN 4 AND 5 OR class = 'student'
    >Also, rightly or wrongly, I am under the
    >impression that databases tend to be rather cumbersome
    (an impression reinforced
    >by Microsoft outlook professional, which I foolishly
    installed, and which takes
    >five seconds to load an address from my database of a few
    hundred entries).
    A real database is optimized to handle such things. If the
    tables are
    properly indexed, a search for all matching records is very
    fast and
    efficient, especially if you also want to sort the output or
    want to do
    something fancy with the data before you further process it
    in your
    script. Searching for an address in thousands or even
    millions(!) of
    entries can be done within the blink of an eye.
    SQL can also be used to analyze the data or even extract and
    create new
    informations from the existing records. For example I have a
    user
    database, which stores firstname, lastname and birthname if
    available
    (besides a lot of other stuff). In my scripts I often want to
    simply
    print out the full name with the optional birthname in
    parentheses:
    Jane Bar (Foo)
    John Doe
    I could do it in the script, but it's much more efficent to
    let the
    database do this and have it return an additional field in
    the result
    set that already contains this full name in the required
    format. So SQL
    can easily return informations that are not directly stored
    in the DB,
    but generated on-the-fly. And this was just a very simple
    example.
    You should definitely give it a try if you find the time.
    Micha

  • XSLT bug with attributes+in memory DOM

    Hello,
    I know there was a thread about this one some time ago but i
    don't know the current state of this matter, so :
    The XSLT processor has problems with attributes when the DOM was
    build dynamically (attributes are returned as being empty). When
    i save the same DOM, reload it and then do the transform
    attributes are properly transformed.
    The Version 2.0.0.1 of the Java parser states to have solved a
    problem when accessing attributes (bug #920536) but this seems to
    be an other one (i tried 2.0.0.0 and 2.0.0.1 and both had this
    problem).
    Bye Heiko.
    null

    We were unable to reproduce the problem you illustrated. We got
    the output:
    <HTML>
    <BODY>
    the value is : 1
    </BODY>
    </HTML>
    irrespective of whether the lines were commented out. Can you
    describe your environment - JRE/JDK, OS. etc?
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    You wrote:
    : Hello,
    : the following program illustrates what i mean :
    : package testing;
    : import oracle.xml.parser.v2.*;
    : import org.w3c.dom.*;
    : import java.io.*;
    : public class XMLTest {
    : public static final void main(String [] args) throws
    : Exception {
    : XMLDocument doc=new XMLDocument();
    : doc.setVersion("1.0");
    : doc.setStandalone("yes");
    : Node root=doc.createElement("ROOT");
    : Node att=doc.createAttribute("value");
    : att.setNodeValue("1");
    : root.getAttributes().setNamedItem(att);
    : doc.appendChild(root);
    : doc.print(new FileOutputStream("c:\\test.xml"));
    : DOMParser parser=new DOMParser();
    : parser.parse(new FileInputStream("c:\\test.xml"));
    : doc=parser.getDocument();
    : XSLStylesheet xsl=new XSLStylesheet(new
    : FileInputStream("c:\\test.xsl"), null);
    : XMLDocument out=new XMLDocument();
    : out.appendChild(new XSLProcessor().processXSL(xsl,
    doc));
    : out.print(System.out);
    : with the stylesheet test.xsl as follows :
    : <?xml version="1.0"?>
    : <xsl:stylesheet
    : xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
    : xmlns="http://www.w3.org/Profiles/xhtml1-transitional"
    : default-space="strip"
    : indent-result="yes"
    : >
    : <xsl:template match="ROOT">
    : <HTML>
    : <BODY>
    : the value is : <xsl:value-of select="@value"/>
    : </BODY>
    : </HTML>
    : </xsl:template>
    : </xsl:stylesheet>
    : if you run the program as given the result is :
    : the value is:
    : but when you uncomment the lines storing & retrieving the
    : document the result is as i would expect it :
    : the value is: 1
    : Bye Heiko.
    null

  • EJB Primary Key not found in lock manager - Container BUG?

    I have an EJB entity bean whose primary key class implementation is pretty simple, consisting of two strings. For the MOST part, it seems to work properly, but every so often I see the following message in my application server log.
    ####<Sep 17, 2008 10:03:27 AM EDT> <Warning> <JTA> <armantac22> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1221660207187> <BEA-110401> <Ignoring error in afterCompletion. Object=weblogic.ejb.container.internal.TxManager$TxListener@1906466, Exception=javax.ejb.EJBException: [EJB:010108]The EJB Lock Manager has received an unlock request from EJB:PortfolioMetaData with primary key:[ObjectPK: type: PortMetaData name: PortMetaData]. However, this primary key could not be found in the Lock Manager. This indicates either an EJB container bug, or the equals and hashCode methods for the primary key class:com.armanta.ejb.ObjectPK are implemented incorrectly. Please check the equals and hashCode implementations.
    javax.ejb.EJBException: [EJB:010108]The EJB Lock Manager has received an unlock request from EJB:PortfolioMetaData with primary key:[ObjectPK: type: PortMetaData name: PortMetaData]. However, this primary key could not be found in the Lock Manager. This indicates either an EJB container bug, or the equals and hashCode methods for the primary key class:com.armanta.ejb.ObjectPK are implemented incorrectly. Please check the equals and hashCode implementations.
         at weblogic.ejb.container.locks.ExclusiveLockManager$LockBucket.unlock(ExclusiveLockManager.java:409)
         at weblogic.ejb.container.locks.ExclusiveLockManager.unlock(ExclusiveLockManager.java:170)
         at weblogic.ejb.container.manager.ExclusiveEntityManager.afterCompletion(ExclusiveEntityManager.java:723)
         at weblogic.ejb.container.manager.ExclusiveEntityManager.afterCompletion(ExclusiveEntityManager.java:667)
         at weblogic.ejb.container.internal.TxManager$TxListener.afterCompletion(TxManager.java:984)
         at weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:862)
         at weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2913)
         at weblogic.transaction.internal.ServerTransactionImpl.afterCommittedStateHousekeeping(ServerTransactionImpl.java:2806)
         at weblogic.transaction.internal.ServerTransactionImpl.setCommitted(ServerTransactionImpl.java:2851)
         at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:2650)
         at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:2570)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:277)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:226)
         at weblogic.ejb.container.internal.BaseEJBHome.postHomeInvoke(BaseEJBHome.java:389)
         at weblogic.ejb.container.internal.EntityEJBHome.findByPrimaryKey(EntityEJBHome.java:408)
         at com.armanta.ejb.portfolio.PortfolioMetaData_a4zvzk_HomeImpl.findByPrimaryKey(PortfolioMetaData_a4zvzk_HomeImpl.java:64)
         at com.armanta.ejb.portfolio.PortfolioMasterBean.getPortfolioMetaData(PortfolioMasterBean.java:313)
         at com.armanta.ejb.portfolio.PortfolioMaster_fmk9e8_EOImpl.getPortfolioMetaData(PortfolioMaster_fmk9e8_EOImpl.java:64)
         at com.armanta.ejb.portfolio.PortfolioMaster_fmk9e8_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    I checked the equals and hashCode implementations and nothing pops out at me. Once this happens, the EJB seems to get messed up in the database and I lose information!
    Here is the class implementation along with its superclass. I don't see anything blatant. Sorry for the lack of indentation, my original post was indented.
    Thanks
    Eric
    public class ObjectPK extends ArmantaPK {
         private String type;
         private String name;
         private ObjectPK() {
              super();
         public ObjectPK(String type, String name) {
              super();
              this.type = type;
              this.name = name;
         public String getName() {
              return name;
         public String getType() {
              return type;
         public String toString() {
              StringBuffer buffer = new StringBuffer();
              buffer.append("[ObjectPK:");
              buffer.append(" type: ");
              buffer.append(type);
              buffer.append(" name: ");
              buffer.append(name);
              buffer.append("]");
              return buffer.toString();
         * Returns <code>true</code> if this <code>ObjectPK</code> is the same as the o argument.
         * @return <code>true</code> if this <code>ObjectPK</code> is the same as the o argument.
         public boolean equals(Object o) {
              if (this == o) {
                   return true;
              if (!super.equals(o)) {
                   return false;
              if (o == null) {
                   return false;
              if (o.getClass() != getClass()) {
                   return false;
              ObjectPK castedObj = (ObjectPK) o;
              return ((this.type == null ? castedObj.type == null : this.type
                   .equals(castedObj.type)) && (this.name == null
                   ? castedObj.name == null
                   : this.name.equals(castedObj.name)));
         * Override hashCode.
         * @return the Objects hashcode.
         public int hashCode() {
              int hashCode = super.hashCode();
              hashCode = 31 * hashCode + (type == null ? 0 : type.hashCode());
              hashCode = 31 * hashCode + (name == null ? 0 : name.hashCode());
              return hashCode;
         public Object clone() {
              ObjectPK inst = new ObjectPK();
              inst.type = this.type == null ? null : new String(this.type);
              inst.name = this.name == null ? null : new String(this.name);
              return inst;
    public abstract class ArmantaPK implements Serializable, Cloneable, Comparable {
         // Enforce compatability with future versions
         private static final long serialVersionUID = 1980721424128862564L;
         // Cache the hash code
         private transient int hash = 0;
         * Clones a primary key. Note that this is not a deep copy.
         * @return the cloned primary key
         public Object clone() throws CloneNotSupportedException {
              ArmantaPK newKey = (ArmantaPK) super.clone();
              newKey.hash = 0;
              return newKey;
         * Compare the specified object with this key for equality.
         * Implementations should return <tt>true</tt>
         * if and only if the specified object is also a key
         * of the same class and all corresponding attributes in the keys are
         * <i>equal</i>.
         * @param other the object to be compared for equality with this key.
         * @return <tt>true</tt> if the specified object is equal to this key.
         public boolean equals(Object other) {
              return other instanceof ArmantaPK;
         * This implementation only returns an empty String.
         * @return String
         public String toString() {
              return "";
         * Return the hash code value for this key. Implemented to call the
         * key's <code>computeHash</code> method and cache the result for
         * faster operation. Classes extending <code>ArmantaPK</code> should
         * only implement <code>computeHash</code>.
         * @return int
         public int hashCode() {
              if (hash == 0) {
                   hash = computeHash();
              return hash;
         * @y.exclude
         * Compute a hash code for this key. This is the method that should
         * be overridden by sub-classes.
         * @return int
         protected int computeHash() {
              return 0;
         * @y.exclude
         * After called, will force the hash code to get recomputed.
         public void rehash() {
              hash = 0;
         * Compares this <tt>ArmantaPK</tt> to another object by comparing
         * their string representations.
         * @return an integer based upon comparing the <tt>ArmantaPK</tt>s string
         * representations
         public int compareTo(Object o) {
    return toString().compareTo(o.toString());
    }

    We are experiencing a similar error after upgrading 9.2 to 9.2 MP3. We do not want to upgrade to 10g at this time. Is there a patch we can download with the fix?

  • Workaround for MailTo Yahoo! Mail Helper Application bug?

    I don't know if there is an active bug report for this, but for Firefox 8 with the MailTo Helper Application set to Yahoo! Mail, choosing [i]File: Send Link[/i] opens the Yahoo mail form and inserts [b][i]mailto:?To=[/i]<link>[/b] into the [b]To:[/b] field, instead of simply inserting [b]<link>[/b] into the Body.
    I tried setting up a new MailTo Helper Application via a Javascript similar to those prescribed here: [url]http://www.davidgilson.co.uk/2009/09/make-webmail-firefoxs-default-mail-client[/url], but Firefox did not seem to respond to the script.
    I also installed GmailDefaultMaker (which also supports Yahoo Mail and several other webmails) and tried to use that to straighten out Firefox's Yahoo Mail setup, but it accomplished nothing.
    Working with the preferences in About:Config got me nowhere.
    Editing MimeTypes.rdf with Windows XP Wordpad was promising. (Notepad doesn't work due to the wrong kind of character encoding.) Replacing every instance of "http://compose.mail.yahoo.com/?To=%s" with "http://compose.mail.yahoo.com/?Body=%s" results in [b][i]mailto:?Body=[/i]<link>[/b] being inserted into the Body. That is an improvement, but nowhere could I find enough documentation about MimeTypes.rdf to figure out how to get rid of [b][i]mailto:?To=[/i][/b].
    (For documentation, there is [url]http://kb.mozillazine.org/MimeTypes.rdf[/url], but that is incomplete.)
    Does anyone have a workaround?

    Tom, thanks for your offer. Here is the explanation from my service provider, which includes a quote of the raw source. They're pointing the finger squarely at Apple Mail. Beats me, can you shed any light? It would be much appreciated...
    ...quote...
    Our system admins did more research into this issue and we've found the source of why these messages cannot be displayed.
    What follows is the raw html from one of the messages from Aug 11;
    <HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space;
    -khtml-line-break: after-white-space; ">This one sent as html.<BR><DIV>
    <SPAN class=3D"Apple-style-span" style=3D"border-collapse: separate;
    border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Arial;
    font-size: 12px; font-style: normal; font-variant: normal; font-weight:
    normal; letter-spacing: normal; line-height: normal; text-align: auto;
    -khtml-text-decorations-in-effect: none; text-indent: 0px;
    -apple-text-size-adjust: auto; text-transform: none; orphans: 2;
    white-space: normal; widows: 2; word-spacing: 0px; "><SPAN
    class=3D"Apple-style-span" style=3D"border-collapse: separate;
    border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Arial;
    font-size: 12px; font-style: normal; font-variant: normal; font-weight:
    normal; letter-spacing: normal; line-height: normal; text-align: auto;
    -khtml-text-decorations-in-effect: none; text-indent: 0px;
    -apple-text-size-adjust: auto; text-transform: none; orphans: 2;
    white-space: normal; widows: 2; word-spacing: 0px; "><SPAN
    Notice the style=3D"
    3D is equal to the = sign in the windows character map and is being written effectively twice, once in its windows format and the other in unicode, this makes the html invalid and unreadable by some readers and fails all validators that we've have put it through.
    Some applications may be able to correctly determine the duplicate nature of the characters and render the html but not all.
    ...unquote...

  • Maybe a bug in the enumerationof the TOC entries?

    Hi,
    I would like to have a table of contents (TOC) with enumerated chapters.
    First I adapted the chapter styles to use indented lists. This provided me with headings such as:
    1. Chapter
    1.1 SubChapter
    2 Chapter
    Then I inserted a TOC. Unfortunately only the heading texts not their numbers were displayed. It looked a little bit like this:
    Chapter
    SubChapter
    Chapter
    As a workaround I added indented lists to the TOC style. This nearly worked. My only problem is that Pages always looses the indention parameter. It is first displayed correctly and after selecting something else the indention is reset to 1. This looks like this:
    1. Chapter
    2. SubChapter
    3. Chapter
    I have the impression that the indention is not set in the TOC style but in the associated heading style. This would clearly be a bug.
    Any help/idea is greatly appreciated!
    Best regards,
    Torsten

    I have the same problem. The only workaround I found: each time before exporting as PDF or printing I would select the TOC entries that need to be indented (starting with the most-indented one) and manually increase the indention by one. Fortunately, Pages automatically selects all TOC entries with the same paragraph style, so it's easy to select all entries that should have the same indention if you use different paragraph styles for the different levels.
    I left some feedback at http://www.apple.com/feedback/pages.html.

  • A bug in /etc/rc.d/functions; and the release policy

    This is a small issue, but how it relates to Arch's release policy is important.
    I have CONSOLE="ter-120b" in my rc.conf, and I got following screen on startup. The message about console font is overwritten by the next message. Additionally, the right side is "[BUSY]".
    http://i795.photobucket.com/albums/yy24 … ot/bad.png
    It turned out to be a bug in the set_consolefont, in /etc/rc.d/functions:
    if (($? != 0)); then
    stat_fail
    elif [[ $CONSOLEMAP ]]; then
    cat <<"EOF" >>/etc/profile.d/locale.sh
    if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\033(K"; fi
    EOF
    stat_done
    fi
    stat_done is not called on the implicit "else" branch. The fix is easy:
    if (($? != 0)); then
    stat_fail
    else
    if [[ $CONSOLEMAP ]]; then
    cat <<"EOF" >>/etc/profile.d/locale.sh
    if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\033(K"; fi
    EOF
    fi
    stat_done
    fi
    The effect is shown here.
    http://i795.photobucket.com/albums/yy24 … t/good.png
    However, that made me think about Arch's release policy. The latest release is 2010.5, 10 months ago. That usually doesn't matter that much, as Arch is a rolling release distro, and the CD image is really light. However, now and then we may spot bugs in scripts like /etc/rc.d/functions, which come with the CD and remain untouched by pacman. Will it be better if we follow Gentoo's approach, generating installation media every few days, putting latest software (and more importantly for Arch) and fixed scripts in it?
    PS. I'd love to remove some black area in the screenshots, but I can't figure out how to do it with GIMP. Help on this is also appreciated.
    Last edited by jasonwryan (2011-03-09 06:44:53)

    tomk wrote:
    xiaq wrote:now and then we may spot bugs in scripts like /etc/rc.d/functions, which come with the CD and remain untouched by pacman.
    You are mistaken. /etc/rc.d/functions is provided by the initscripts package, which has been updated four times since the 2010.05 release. The current version is 2011.02.1.
    I suggest you submit the bug and your patch in the normal way, so that it is handled correctly.
    All right, so I'm firing a bug report and send in my patch there. I have also found that /etc/rc.d/functions has some style problems. It uses a mix of space and tab for indentation, and the misleading modeline option "ts=2" (ts means "tabstop") makes the code look terrible. I have tried several values, and ts=8 turned out fine(most likely the author use this setting and don't use vim). The code is still inconsistent in style, though. So I'm going to clean up the style too. Is that okay as long as I don't break something?

  • Set indention / tab size in Oracle SQL Developer

    I've been poking around for an hour. Can't figure this out.
    Where, either on the app's UI or in the "product-preferences.xml" file, can I change SQL Developer's indention (tab) size to 3? My organization uses PowerBuilder, and when I copy+paste our PB SQL (which uses leading tabs) into Oracle SQL Developer, it looks like crap. It would really help if I could change the code editor to a tab size equivalent to three spaces.
    And no, we can’t use spaces. :-)
    Thanks!
    (maybe SQL Developer 2 could have a tab size field in “Preferences”)

    In 1.5.x, it's under Preferences - Database - SQL Formatter - Alignment and Indentation .
    However, at least in the current 1.5.3, a bug ignores the tab preferences completely, so you're stuck with the 2 spaces. If you can't wait until this gets fixed (with luck in the upcoming 1.5.4 or else maybe by 2.0), revert to an earlier version.
    Regards,
    K.

  • Bug: Context menu operations on multiple selection of uix-nodes do not work

    Hi,
    when i select multiple .uix files in the navigator and then chose "Check XML Syntax", "Validate" or "Auto Indent XML" from the context menu, the selected operation is only done for the first file in the selection.
    This is a nice Bug because this works for Make and Rebuild context menuitems, even if those items display the filename even for multiple selection ("Make AFile.uix).
    Would be nice if those operations would work on the "HTML Sources" node or a subfolder.
    Regards, Markus

    thanks. we'll try to fix this in an upcoming release.

Maybe you are looking for

  • BMW iPod adapter: Problems after 1.2 update

    I have the BMW iPod adapter, my pre Sept 5G 30GB iPod, will skip, if the radio is turned off while listening to the iPod. Then when you turn the radio back on or start the car, it skips It will play for a second the silence, then play then silence. T

  • Multiple Problems with PDF InDesign, Bridge, and Acrobat Reader

    I create proof books with a blend of Adobe Bridge & InDesign. Here is my work flow: I will BOLD the errors I am having and need help with. Step 1.) I create contact sheets in Bridge and save them as PDF's Problem with Bridge ( I have another posting

  • URGENT: Final Cut Pro Constantly Quiting

    Hello Everyone I am hoping that you will be able to help me out with this large issue. First off I am using: Apple Final Cut Pro 5.1.4 within the Final Cut Studio 5 on an Intel Core 2 Duo 2.33GHz iMac 24" with 3GB of Ram and 512 Video Card from nVidi

  • Header Text Verbiage in OA

    Hello, I would like to run a "report" that gives me the verbiage stated in the Header Text of our OA's.  At the present time I am reviewing them one-by-one.  I've been told that I am looking for a structure rather than a transaction or table.  As thi

  • RSNAST00 - NAST table - NACE relation ...

    Kindly let me know what actually RSNAST00 program does ? 1). Because we create quotations in va21 and the same are processed by running RSNAST00 program as a first step. 2). and then we run our z-program, so that our z-program runs the above RSNAST00