CodeBlock element: how to make it so when I press on enter, it doesn'insert an other codeblock elem?

FM 11

DITA 1.2

Currently when I'm entering text in the < codeblock > element, it inserts another element < codeblock > whenever I press Enter, like this:

< Codeblock > This is the first line. < / codeblock >

< Codeblock > This is line 2. < / codeblock >

< Codeblock > This is line 3. < / codeblock >

I want to keep breaks line like this:

< Codeblock > This is the first line.

It is the second line.

It is the third line. < / codeblock >

The rule r/w for the codeblock are as follows:

element 'codeblock' {}

keep line breaks;

}

In my model, in the paragraph Designer, I tried setting the following tag of TFP as body and CodeBlock.

My (s) ESD is set to use the CodeBlock paragraph format.

It's something simple I'm missing?

Marsha

You can not.

Use SHIFT + ENTER.

.. .Scott

Tags: Adobe FrameMaker

Similar Questions

  • When I press the SHIFT key to get to register this happened @: M and when I press on enter key this happens #__nb so how can I change the setting I tried to format it but it's always the Sammy _ same__Regards

    When I press the SHIFT key to get to register this happened @: M and when I press on enter key this comes up #.
    NB so how can I change the setting, I tried formatting but it's always the same
    Cordially Sammy

    Try another keyboard, if that solves your problem is faulty and should be replaced.

    "sammy06forever" wrote in the new message: * e-mail address is removed from the privacy... *

    When I press the SHIFT key to get to register this happened @: M and when I press on enter key this comes up #.
    NB so how can I change the setting, I tried formatting but it's always the same
    Cordially Sammy

  • I made a music video in Flash and it won't play on the timeline, and I can't scroll through it either. He plays when I press Ctrl + Enter, but not in the timeline panel. It worked perfectly before, but now for some reason it doesn't. Help, please

    I made a music video in Flash and it won't play on the timeline, and I can't scroll through it either. He plays when I press Ctrl + Enter, but not in the timeline panel. It worked perfectly before, but now for some reason it doesn't. Help, please

    It is the nature of the movieclips. They play only when you make a film Test. If you want an animation that plays when you scrub the timeline, select the element and change it to be a chart instead. You can do this in the properties panel.

  • Selected pass contains a string indicator combo box when you press the Enter key

    Hello

    How to pass selected contains a string indicator combo box when you press the enter keyboard key?

    Right now I use a button to send the command selected in the combox to string indicator.

    The photos shows a combo box with the button that I use to send to the indicator as example.

    After the user selects the text to pass, "send the cmd" button must be pressed to pass the string.

    I need to pass the selected string when the user press enter on the keyboard rather than press the button 'send cmd '.

    Kindly to you needing help.

    Hello

    You can use a structure of the event to capture keystrokes and filter, transmit only the drop-down list box "value of the indicator of channel when you press the return or enter key."

    Let me know it the joint allows an example (in LV 8.6).

  • I am trying to reinstall windows xp from disk but it only gets up to this request then for service pack 1 disc when I press on enter I get the file 'asms' on windows xp pro Service Pack1 necessary

    I am trying to reinstall windows xp from disk but it only gets up to this request then for service pack 1 disc when I press on enter I get the file 'asms' on windows xp pro service pack 1 cd needed someone had this problem and managed to solve it thanks a lot

    Hello

    Thanks for joining us on the Microsoft Community.

    According to the description of the problem you are facing problems with reinstalling Windows XP Professional, and you are to be invited to insert the Service Pack 1 drive to complete the installation.

    To help you to propose measures to solve the problem, I would appreciate if you could answer the following questions:

    1. did you uninstall Windows XP Service Pack 1 prior to reinstalling Windows XP?

    2. what was the installed Service Pack earlier?

    You may need to uninstall Windows XP Service Pack 1 first and then perform the reinstallation of Windows XP and to check if the installation goes smoothly.

    Please see the following articles for more information about uninstalling Windows XP Service Pack 1:

    How to manually remove Windows XP Service Pack 1

    http://support.Microsoft.com/kb/329015

     

    How to remove folders from Windows XP Service Pack 1

    http://support.Microsoft.com/kb/329260?WA=wsignin1.0

    Hope this information helps. Please come back for any clarification on this or any issue of Windows. We will be happy to help you.

  • Show/hide elements - how to hide an image when you click on another

    I have a page of the library of photo with 10 pictures on it. I organized it where there is a large image on the left side of the page and 10 thumbnails of turning on the right. I put larger images in separate AP div tags hidden. I want the big picture is displayed when the user clicks on the corresponding thumbnail. This works well, but how to make the image of 'hide' when the user clicks on a different thumbnail.

    Can you help me?

    Here is my code:

    < div id = 'eau1"style =" position: absolute; " Left: 20px; top: 50px; Width: 630px; height: 491px; z-index: 100; visibility: hidden; "" "> < img src ="... / media/images/water/water1.jpg "width ="650"height ="500"alt ="eau1"> < / div >
    < div id = "water2" style = "position: absolute;" Left: 20px; top: 50px; Width: 630px; height: 491px; z index: 103; visibility: hidden; "" "> < img src ="... / media/images/water/water2.jpg "width ="650"height ="500"alt ="water2"> < / div >
    < table width = "100%" border = "0" cellspacing = "0" cellpadding = "0" >
    < b >
    < td width = "20" height = "20" > < table >
    < td > < table >
    < td > < table >
    < td > < table >
    < td width = "20" > < table >
    < /tr >
    < b >
    < height td = "20" > < table >
    < height td = '30' class = "copy18grey" > water Applications < table >
    < td > < table >
    < td > < table >
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td width = "650" height = "500" rowspan = "5" valign = "top" > < img src = "... / media/images/water/water1.jpg" width = "650" height = "500" alt = 'eau1' > < table >
    "" < td = '100' height > < a href = "#" onMouseOver = "MM_swapImage ('Image12 '", '... / media/images/water/water1_thmb_over.jpg',1) "Mm_swapimgrestore" > < img src = "... / media/images/water/water1_thmb.jpg" name = 'Image12' width = "160" height = "100" border = "0" onClick = "MM_showHideLayers ('eau1',", 'show') ' onDblClick = "MM_showHideLayers ('eau1',", 'hide') "" > < /a > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td = '100' height > < a href = "#" onMouseOver = "MM_swapImage ('Image13 '", '... / media/images/water/water2_thmb_over.jpg',1) "Mm_swapimgrestore" > < img src = "... / media/images/water/water2_thmb.jpg" name = "Image13" width = "160" height = "100" border = "0" onClick = "MM_showHideLayers ('water2',", 'show') ' onDblClick = "MM_showHideLayers ('water2',", 'hide') "" > < /a > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td = '100' height > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td = '100' height > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td = '100' height > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    < td > < table >
    < td > < table >
    < td > < table >
    < td > < table >
    < /tr >
    < /table >

    Show/hide behavior is not just for a single element.  With a single application of the behavior, you can display an image and 24 other people hide.  The trick is to keep by selecting the named items and their visibility, that is, to select "img1" and click display, then select "img2" and click Hide, etc.

  • How to make the Subvi when I make use of the structure of the event

    Hello everyone

    I don't really understand how to make use of Subvi when I use the event structures in vi?

    When just make buttons on the controls Subvi connectors and assign them the vi stops working as I expected.

    I've added an example vi I do not operate as a Subvi.

    Thanks for advantage.

    I think raise you an event to change value via the input connector, that you hope to do. One ugly semi solution is to get the button references and make a Value property (Signal).

    A better solution if you want Hasina events in a subvi is to record user events and send the registry-event thread for the sub - vi, where you can use these events to the event structure. Check that the user created events and examples of dynamic event.

    /Y

  • How to make text disappear when the mouse is over a button?

    Hello, I'm completely new to Flash, and well I need help. I created a page that contains static text in the Center.

    Page has buttons on the side and when I rollover a button text is displayed, but the problem is that when I rollover a button, static text in the Center is here and I want to hide as I can't read anything either because the texts are overlapping.

    How can I make the text in the centre disappear / hide when I rollover a button and how do I make it reappear when the mouse is the off button?

    I hope what I said makes sense.

    You can assign the code onRollOver and onRollOut buttons to the dispappear of text, but you will need make the text a movieclip with instance name that you can use to target to make it invisible.  In the example below, the button has an instance name of "btn" and the movieclip of text has an instance name of "text_mc".

    btn.onRollOver = function() {}

    text_mc._visible = false;

    }

    btn.onRollOut = function() {}

    text_mc._visible = true;

    }

  • How to make transparent windows when dragging

    I've done it before, but it does not work now. I'm trying to make transparent windows, when I'm dragging. It still shows the content, but it's just more transparent. This isn't the framework in which it shows just the square outline.

    Thank you

    Goto Control Panel > system > advanced system settings, under performance, click settings
    Now, clearly, the checkbox titled "Content of the Show window while dragging" n click on apply or OK to apply these changes. -Ramesh Kumar http://www.WindowsValley.com

  • How to set the default when button press "Enter".

    Hello

    I have a form, and he doesn't have that one button (send). When I press 'Enter', it can send the form and action. However, when I add another button (Normal button, not submit), it cannot run directly submit when I press "Enter".

    If you press 'Enter' and the form can submit automatically, it is more user-friendly than without this feature. Therefore, can I know the method to set the default button when users press "Enter"?

    At first I thought that can matter the order of the controls on the form.  When I run this code:





    While I am in the text box, if I press enter the form sends.  I tried originally with button and submit entries in the opposite direction.

    Note that the button enter will not submit the form if you are in a select command (aka dropdown) or a textarea component or if your home is not on a form element.  This is the default behavior.  If you want to replace, you write javascript.

  • How to send a main when I press a botton

    Oracle Forms 6i

    Hai All

    I work in the entry of leave application. When users fill out the form and when there press the button so I need to send an email to the corresponding boss. The user enters the mailid into the text field in the form.


    Pls tell me the steps to do this

    Thanks in advance

    Srikkanth.M

    You can do this in a couple of ways; through the database using UTL_SMTP and UTL_MAIL, through OLE in an e-mail Client on the computer of the users (WebUtil uses), or by the use of a Java Bean or the snap of Java (CCP). My personal preference is through the database that this method is not dependent on external programs.

    Check out the email database with UTL_SMTP package example and source code. This maildemo package does not include the ability to add attachments to the e-mail sent from the database, but I could easily change the demomail package to add this capability. Make sure that change you the package to use your e-mail server or it will not work.

    Hope this helps,
    Craig B-)

    If a response is appropriate or useful, please mark accordingly.

  • My his laptop makes a beep when I press the power button / stop and it does not start

    Hello

    I bought a new Dell Inspiron 15z touch ultrabook and when I pressed the power button, it starts to beep and won't start. The screen is totally blank. What should do? Help, please

    -Mayur gala

    Hi Mayur,

    Welcome to the community,

    Sound signal can be used as a diagnostic indicator. The computer may emit a series of beeps at startup if errors or problems. This series of beeps identifies a problem and is called "beep code".

    See the table below which shows the beep codes and the possible problem:

    Overview of beep Code
    Beeps Description Possible cause
    1 ROM BIOS checksum failure The map system, covers BIOS corruption or errors ROM failure
    2 No memory (RAM) detected Memory or memory slot failure
    3
    • Chipset error (North and South Bridge error)
    • Time-Of-Day Clock test failure
    • Gate A20 failure
    • Super i/o chip failure
    • Keyboard controller failure
    System board failure
    4 Memory read / write failure Memory failure
    5 Real Time Clock (RTC) power failure CMOS battery failure
    6 Video BIOS Video/smart card failure
    7 Failure of the CPU Processor failure
    8 LCD SCREEN Failure of the LCD

    Let me know if you need assistance.

    Thank you

  • I can't launch any Web site by typing in the address bar. It's going to happen when I press on enter. Get the latest update of Firefox on Ubuntu Maverick.

    I can't launch any website in the address bar of Firefox11. I can't type in the address of website below but if I press on enter nothing happen.

    In Firefox 4 and later Safe mode disables extensions and disables hardware acceleration.

    Try turning off hardware acceleration.

    • Edit > Preferences > advanced > General > Browsing: "use hardware acceleration when available.

    Create a new profile as a test to see if your profile is the source of the problems.

    See "basic troubleshooting: a new profile:

    There may be extensions and plugins installed by default in a new profile, so check that in "tools > Modules > Extensions & Plugins" in case there are still problems.

    If this new profile works then you can transfer files from the old profile to the new profile, but make sure not to copy corrupted files.

    See:

  • When I press Ctrl enter in library mode, see a video of selected images...  I get an error message that says that the video is

    When I press the Ctrl Key and the Enter key, in library mode, to see a slide show of images that are selected... I get a window error that says "Lightroom - video support is not enabled.

    I can see regular video located in my catalog and other videos on the internet... very well.

    How can I 'activate' or turn on video?

    I've recently set up a second monitor and I don't know if this has had an effect...   But, I can't view slideshows even with just my phone on and the second monitor goes blank...

    Its a confirmed bug.   See here.   I wouldn't guarantee a quick or any difficulty considering Adobes bug of history setting. (not good)

    Video Support is disabled. Lightroom forums

  • Go to the new line when you press shift + enter in the text box

    Hi, I would like to know how to go on a new line in a text box when you press a combination of keys SHIFT + ENTER. (Pressing himself enter causes the text to be erased and expelled for an ObservableList). Here is what I tried:
     text.setOnKeyReleased(new EventHandler<KeyEvent>() {
            final KeyCombination comb1 = new KeyCodeCombination(KeyCode.ENTER, KeyCombination.SHIFT_DOWN);
            final KeyCombination comb2 = new KeyCodeCombination(KeyCode.ENTER);
    
             public void handle(KeyEvent t) {
                    if (comb2.match(t) && !comb1.match(t)) {
                            obs.addAll(text.getText());
                            text.clear();
            }
        }
    }); 
    I'm not aware of any explicit function which allows the accent circumflex positions itself a new line.

    Hello. Please, try the following:

           final TextArea ta = new TextArea();
           ta.addEventFilter(KeyEvent.KEY_PRESSED, new EventHandler() {
    
                public void handle(KeyEvent event) {
                    if (event.isShiftDown() & (event.getCode() == KeyCode.ENTER)) {
    
                            ta.setText(ta.getText() + "\n");
                            ta.end();
    
                        }
                    else event.consume(); 
    
                }
            });
    

Maybe you are looking for