Inserting a Line Break - Bug

I am running Dreamweaver CS4 on Windows. I have this weird situation that just started a few days ago.  Dreamweaver will no longer insert a simple line break by hitting shift and enter.  I have no reason why, instead it changes my title tag and ignores the command.  I am not sure if it is a bug or what.  Extremely annoying as that was a fast and simple way to format text on a page I was working on. Here is what the code looks like when I try this...
Before...
Variety of convenient and secure ways to access blocked SPAM<br />
After...
  Variety of convenient and secure ways to access blocked SPAM
  <!-- MENU-LOCATION=NONE -->
<br />
It also changes my title tag on the page to...
Line Break (Shift + Enter)
The only thing I did was hold down the shift key and hit enter while my cursor was on a page in design view.  It used to simply insert a <br/> tag.  I have checked my preferences, check my keyboard, etc.  I can't find any reason why it suddenly started doing this.  Any ideas?

There is a javascript function that will allow you to split the string into component parts. It puts these parts into an array. Here is some sample code that should give you the idea. Assuming TextField1 has the compete string and TextField2 is the field you want to enter the separted string into.
var  
strTemp =TextField1.rawValue;
var  arrayTemp = strTemp.split(",");TextField2.rawValue
= arrayTemp[0] + "\n";
for  (i=1;i<arrayTemp.length;i++){   TextField2.rawValue
+= arrayTemp[i] +"\n";
Paul

Similar Messages

  • Pressing Enter inserts new line break instead of "executing" command

    I have noticed a rather strange behavior on my new TPT2. This occurs ONLY when I am using the Windows 8 touch keyboard in the "Metro" environment.
    Whenever I press the Enter key on said keyboard (for example when sending an instant message on Skype), the keyboard inserts a new line in the text box instead of acting like a "normal" Enter key and execute the default command (send the message in this example).
    I have connected an external keyboard and this problem does not show up. Everything works as expected. I also brought up the regular on-screen keyboard (launched from the Ease of Access menu) and it works the way it should. The problem is only with the Metro touch keyboard.
    It seems that for some reason, the Metro touch keyboard interprets the Enter key pressing as "insert a line break".
    Does anyone know how to fix this? It is extremely annoying.

    Just checked that, you are right, Photoshop doesn't recognize Shift-Enter as a line break and treat it as a Return which is a problem with paragraph formatting. Obviously a bug.
    Good news workaround is that it recognizes the line break character if you paste it from another program like Microsoft Word. If you don't have a program that allows you to copy just that character and use paste instead of Shift-Return, you have to type your entire text in some other program and copy paste to Photoshop.

  • Calendar app. How do i insert a line break in the title of an appointment?

    How do i insert a line break in the title of an appointment?

    Jonny Marshall wrote:
    Hi, I've had this problem for a while now but just can't find the answer anywhere. I keep seeing that 'shift+return' or 'ctrl+return' will create a new line in a cell in numbers but it just doesn't! I can't seem to find a way of doing it. Please help!
    Difficult to guess what is wrong in your system or what you made wrongly.
    Here it work.
    Maybe a problem of corrupted preferences.
    Try to run Numbers from an other User Account.
    If it behaves flawlessly it will be time to try to disable the Preferences files:
    <startupVolume>:Users:<yourAccount>:Library:Preferences:com.apple.iWork.Numbers. plist
    <startupVolume>:Users:<yourAccount>:Library:Preferences:com.apple.iWork.Numbers. LSSharedFileList.plist
    (Also, not numbers related, but if you happen to know how I find out what version of OSX I'm using please let me know.)
    menu :  (Apple)
    menu item : About this mac
    Yvan KOENIG (VALLAURIS, France) jeudi 3 juin 2010 14:41:07

  • ICal 5.0 inserting a line break (Lion)

    With iCal v4 (Snow Leopard 10.6) one could insert a line break within an event by typing ALT+return.
    This functionality seems to have disappeared with iCal 5.
    Has anyone else noticed this? Is there a workaround?
    Many thanks!

    I'm considering 'busycal' although I feel like a shill paying $50 for it. Please do update this if you find a solution or try another app that works well for you.  Cheers, J

  • PP 2007 - line break bug - not solvable with language settings

    Hi
    I have somewhat the same problem with my Powerpoint 2007 as this guy:
    http://www.justanswer.com/microsoft-office/67fyp-inserting-comma-causes-line-break-even-when-plenty.html
    Except it doesn't only occur with a comma. When I write in a textbox or a shape (speech bubble etc), Powerpoint sometimes forces a line break in the middle of a line (not in the middle of a word) without any reason whatsoever. It occurs
    out of the blue, suddenly there is a line break in the middle of a line and I can't do anything about it. It looks like it turns on word wrap in the middle of the textbox, shape or whatever I am writing in.
    Part of the problem can be solved using the language settings->japanese->allow latin text to wrap in the middle of a word. When I ran this procedure, the checkbox was unchecked, and when I checked it, the line breaks disappeared,
    just as I wanted. BUT: now I am stuck with the another problem, namely that powerpoint wraps the text in the middle of the word which naturally breaks the word into two at the end of each line.
    The only solution to this problem is doing the language settings->japanese-trick, as far as I can see after searching the web. And if I do that, if I uncheck the Allow latin...-box I get the same problem I had in the first place,
    with the line break in the middle of the line.
    I hope someone can help me with this.
    Kind regards
    Mikkel Clemmensen

    I have raised a bug on this issue and I am actively looking into it.

  • LE7:Score Layout:Global Format:Maximum Bars per Line - Line Break Bug!

    Hello
    This problem occurs in Logic Express version 7.
    (I am using MacOS version 10.4.2 on an eMac)
    I am currently compiling and editing a large score for a big band composition consisting of 22 parts:
    Flute 1
    Flute 2
    Clarinet 1
    Clarinet 2
    Alto Sax 1
    Alto Sax 2
    Tenor Sax 1
    Tenor Sax 2
    Baritone Sax
    Trombone 1
    Trombone 2
    Trombone 3
    Trombone 4
    Trumpet 1
    Trumpet 2
    Trumpet 3
    Trumpet 4
    Guitar
    Keyboard
    Electric Bass
    Percussion 1 (Kit)
    Percussion 2 (Aux)
    I am creating the score in a separate file, and I am combining parts into 1 stave each by instrument like this:
    Flute 1 & 2
    Clarinet 1 & 2
    Alto Sax 1 & 2
    Tenor Sax 1 & 2
    Baritone Sax
    Trombone 1 - 4
    Trumpet 1 - 4
    Guitar
    Keyboard (2 staves)
    Bass
    Percussion
    Each instrument, with the exception of keyboard which has 2 staves, consists of one stave, making up systems of twelve staves each. By sizing down each score style to 2,
    I have managed to fit 2 systems onto each page, therefore significantly reducing the amount of paper needed.
    The problem comes when organising the layout of my score,
    in particular, the line breaks. Using layout:global format, I have limited the maximum number of bars per line to 8, both in the page edit and normal score mode.
    I am trying to divide up my score so that there are 8 bars per system. Using the white arrow tool, I am dragging bars up and down in order to achieve this.
    However, when I get 30 odd bars in, I discover a system with 12 bars crammed into it - and even printing it off, it is clear that the system could benefit with less bars; the notation is squashed up together and not very easy to read.
    THIS IS THE ACTUAL PROBLEM:
    So I tried using the white arrow to move the last 4 bars down onto the next system, and a bug occurs where I end up with about 20 bars on the system, oddly distorted, the first few bars of which are squashed up together at the beginning of the line, and the last bar of which is stretched far off the right hand side of the page out of view. Then the next 20 or so bars are no where to be seen (probably far off the right hand side of the page) before the system below.
    If you dont know what I am talking about, I could provide a screenshot if you request.
    I have tried everything to get 8 bars on that particular system; dragging the stretched bar downwards, dragging squashed bars downward, moving bars down 1 by 1, moving bars onto the system above, moving bars away from the system below (to make room for the 4 bars that I want to move from above), adding more bars and dragging them down, but none of these methods have worked. I am either stuck with 12 bars crammed onto one system and 4 bars on the next or an oddly distorted version of the system which cannot possibly be read. Even when I settle with the unsatistactory former, I encounter further problems on subsequent systems below, some systems of which are already distorted.
    All I want is to have 8 bars per system, it should not be too much to ask! The layout:global format:maximum-bars-per-line calculation seems to be redundant, even when I reset the default line breaks - it just does not automatically set 8 bars per line, which it should do. Is there not an option to determine bars individually by number onto their respective lines, without having to use the white arrow graphic layout tool?
    The problem is extremely frustrating, and it is preventing me from completing, presenting and handing in a score for my university music composition.
    I have no other score producing software, and starting it
    from scratch on paper is going to take me weeks, because it consists of 830 12/8 bars in 22 parts, and I need to get it ready by next term!
    Any help would be extremely helpful and much appreciated, especially a patch or a useful way round. It could be related to memory, or hard drive space, as I have experienced similar problems in the past, where my score has been stretched off the page during a time when I have had little disk space...and this is a very large piece of music which might stretch the score capabilities of Logic.
    If so, has anyone got any suggestions?
    Thanks!
    Rory
    eMac   Mac OS X (10.4.2)  
    eMac   Mac OS X (10.4.2)  

    nope just cutting should work.
    here are some things to try:
    1. try assigning a different score style. for the regions. duplicate and then adjust the default ones if necessary.
    2. try creating a new instrument set. in fact delete them and make a new one (use the key command: create instrument set from selected)
    3. it may be a formatting problem so check:
    in global layout constant spacing (try 8 or 9) and proportional spacing (try 45 or so). then try factory defaults.
    4. try copying and pasting the midi into a brand new region and looking at the score for that.
    5. try fiddling with the layout tool drqagging bars up or down.
    normally simply cutting the region of just one object is enough to force a redraw. maybe try it on all of the regions. what happens when you double click on a region?

  • How to insert new line break in XSLT mapping

    Hi experts,
    I am doing file to mail scenario, i am sending the text file as an attachment using reciever mail adapter.
    I did everything, i can able to send the mail with text file attachment, but with in the file i got multiple rows, i need to put line break in XSLT mapping.
    I did use following statement but it is inserting small rectangle between the records, the records are not separating with new lines, all are in one line.
    <xsl:text>*#xA;</xsl:text>   
    note: in real coding replace * with &
    Can anyone suggest me how to insert new line in XSLT mapping.
    My XSLT mapping as look like:
    <?xml version='1.0'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ns0="http://www.Coj.co.za/SapIsuToABSA/DirectDebitFile">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:variable name="break">&lt;br/&gt;</xsl:variable>
    <xsl:variable name="space"> </xsl:variable>
    <xsl:variable name="newline"><xsl:text></xsl:text></xsl:variable>
    <xsl:template match="/">
    <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
    <Subject>Please Check Attached Direct Debit File</Subject>
    <From>S@za</From>
    <To>P@za</To>
    <Content_Type>text/plain</Content_Type>
    <Content>
    <xsl:for-each select="MT_SapIsuToABSA_DirectDebitFile/DirectDebitRec/Body">
    <xsl:value-of select="Space1"/>
    <xsl:value-of select="Cust_AccNo"/>
    <xsl:value-of select="Reserve_1"/>
    <xsl:value-of select="Cust_Name"/>
    <xsl:value-of select="Cust_Name1"/>
    <xsl:value-of select="Cust_Bank_AccNo"/>
    <xsl:value-of select="Space2"/>
    <xsl:value-of select="Cust_Bank_BranchNo"/>
    <xsl:value-of select="Reserve_2"/>
    <xsl:value-of select="Space3"/>
    <xsl:value-of select="Cust_AccNo_1"/>
    <xsl:value-of select="Space4"/>
    <xsl:value-of select="Reserve_3"/>
    <xsl:value-of select="Deduction_Amnt"/>
    <xsl:value-of select="Space5"/>
    <xsl:value-of select="Reserve_4"/>
    <xsl:value-of select="Space6"/>
    <xsl:value-of select="Action_Date"/>
    <xsl:value-of select="Space7"/>
    <xsl:value-of select="Reserve_5"/>
    <xsl:text>*#xA;</xsl:text>   
    note: in real coding replace * with &
    </xsl:for-each>
    </Content>
      </ns1:Mail>
      </xsl:template>
      </xsl:stylesheet>
    Kind regards,
    Praveen

    Hi,
    I think <xsl:text>#xa;</xsl:text> should do the trick, but depending on which OS (ux or win), the "new line" chars sequence is different (win would require a CRLF like <xsl:text>#xd;*#xa;</xsl:text>)
    Chris
    -> &
    Edited by: Christophe PFERTZEL on Apr 14, 2010 2:16 PM

  • ASP VBSCRIPT: for a declared string, inserting a line break every N characters

    I'm using ASP VB. I want to insert a VbCr or a VbLf into a
    declared string
    every N characters. FWIW, I want to do this because of an
    apparent
    limitation in MSXML2, which I am using to "scrape" data from
    webpages that I
    control: I'm getting spurious exclamation points (!) where
    line lengths are
    too long. Manually inserting line breaks (which do not render
    in HTML) seems
    to solve the problem. Can someone tell me how to do this?
    Put another way, I need to flesh out the following
    pseudocode:
    Dim myString, myCursorPosition, myIncrement
    myString ="The quick brown fox jumped over the lazy dog."
    myCurrentCursorPosition=0
    myIncrement=5 ' I want a line break for every myIncrement
    While [there are still remaining characters to walk through
    in the string
    ' navigate cursor by myIncrement through myString
    ' insert a VbLf at myCurrentCursorPosition
    myCurrentCursorPosition = myCurrentCursorPosition +
    myIncrement
    [loop]
    Thanks for any help on the syntax here.
    -KF

    This is one possible solution specific to the problem I'm
    having with MSXML.
    Code is inefficient for explanatory clarity.
    BodyAsHtmlString = replace(BodyAsHtmlString, "</a>",
    ("</a>"&vbcrlf))
    BodyAsHtmlString = replace(BodyAsHtmlString, "</td>",
    ("</td>"&vbcrlf))
    BodyAsHtmlString = replace(BodyAsHtmlString,
    "</table>",
    ("</table>"&vbcrlf))
    BodyAsHtmlString = replace(BodyAsHtmlString, "</tr>",
    ("</tr>"&vbcrlf))
    BodyAsHtmlString = replace(BodyAsHtmlString, "</br>",
    ("</br>"&vbcrlf))
    -KF
    "Ken Fine" <[email protected]> wrote in message
    news:e52ln5$i7$[email protected]..
    > Thanks, this code works just fine. However, I'm
    realizing that my logic is
    > going to need to be a little more sophisticated. The
    string that I am
    > breaking includes HTML code. Inserting a VbCr can mess
    up the code.
    >
    > I need a way so that the breaks won't break code. Any
    ideas? If I could
    > identify a char that only appeared in written text,
    that's one hacky
    > solution.
    >
    > Thanks again,
    > -KF
    >
    > "Julian Roberts" <[email protected]> wrote in
    message
    > news:e52kjj$shd$[email protected]..
    >> Try something like
    >>
    >> for i=0 to len(mySt) step 5
    >> mySt=left(mySt,i) & vbcrlf &
    right(mySt,len(mySt)-i)
    >> next
    >>
    >> --
    >> Jules
    >>
    http://www.charon.co.uk/charoncart
    >> Charon Cart 3
    >> Shopping Cart Extension for Dreamweaver MX/MX 2004
    >>
    >>
    >>
    >>
    >
    >

  • NOOB Question: Insert a line break ( br or p )

    Hi,
    I try my first steps with webdynpro and find it a bit crazy.
    I now have created my first webapp and it rules but I have 2 questions:
    1. I have 10 elements, which are displayed all abreast, but I want at some elements a line break (<br> or <p>, I only have the solution with FormattedTextView where I can insert html)
    2. How I can add JavaScript-Functions and otherwise <html>-code? CSS-Tags and so on... Have I actually influence of the generated HTML?
    sorry for this noob-questions.
    Christian

    Hi
    In Web Dynpro You can not write HTML , Java Script or insert any CSS code.
    It is not possible.
    If you want a line break between UI elements, you should follow Layouts
    you have different types of Layouts
    1. Matrix Layout
    2. Grid Layout
    3. Row Layout
    4. Flow Layout
    You can control your layout only using the above options.
    Abhi

  • Fix the forced line break bug already!

    Illustrator has had the same bug since version 11. In 5 consecutive versions!
    Forced line break in a justified text behave like a paragraph ending (Enter) aligning the line before the forced line break left. It looks like a new paragraph but it is just incorrectly aligned line in the middle of a paragraph.
    Also Find & Replace recognizes only forced line break but (^n) not paragraph ending (^p) although both can be used in text.
    Since discretionary hyphens do not have an effect whatsoever it requires a lot of manual editing to make typographically acceptable text block to the back of a book jacket.
    So, Adobe. How hard is exactly fix this very annoying bug which has been reported dozens of times? It has even been demonstrated to your tech people who agreed that it really is a bug and should be fixed.

    A force line break is still the same paragraph. You won't see a difference unless there is some text change with each new paragraph, such as a style change or the addition of space before or after a paragraph. The forced line break can also be used as a trigger in a nested style to make the first line or lines formatting for a paragraph different from the following lines.
    Peter

  • Inserting line break within label

    Hey guys,
    i've run into a small problem with the coding. right now im
    creating image viewer within a horizontal list. at first, i had
    each object coded inside the horizontal list but then i decided to
    place everything in an xml file to make changes easier. since i've
    switched, i have not been able to figure out how to insert a line
    break for each label. this is what the code looked like when i was
    naming each object.
    <mx:HorizontalList id="PosterSelect" height="352"
    columnCount="3" columnWidth="200" width="580"
    rollOverColor="#ff3344" themeColor="#DC240B"
    itemClick="itemClicked(event)">
    <mx:dataProvider>
    <mx:Array>
    <mx:Object id="object1" label="March 12, 2008&
    #13;Chicago, IL" data="events"/>
    <mx:Object id="object2" label="March 12, 2008&
    #13;Chicago, IL" data="events"/>
    <mx:Object label="March 12, 2008& #13;Chicago, IL"
    icon="{event3}" data="events"/>
    <mx:Object label="March 12, 2008& #13;Chicago, IL"
    icon="{event4}" data="events"/>
    <mx:Object label="March 12, 2008& #13;Chicago, IL"
    icon="{event5}" data="events"/>
    </mx:Array>
    </mx:dataProvider>
    </mx:HorizontalList>
    within the label property, i used the & #13; character to
    insert a line break. now im using an item renderer to call the
    information from my xml file. the problem is... i cannot figure out
    how to insert a line break like i did previously. from what i
    understand... the text in the label field of the xml file is
    already parsed when it comes into flex. so using the & #13; or
    \n characters will not work. i also tried hitting enter to insert a
    new line in the xml file but that did not work either. does anyone
    know how i could work around this?? below is my current code and
    xml
    <eventinfo>
    <events>
    <label>March 12, 2008#13;Chicago, IL</label>
    <group>group name</group>
    <location>Detroit, MI</location>
    <icon>posters/event1.png</icon>
    <fullsize>posters/event1.png</fullsize>
    </events>
    <events>
    <label>March 12, 2008#13;Chicago, IL</label>
    <group>group name</group>
    <location>Detroit, MI</location>
    <icon>posters/event4.png</icon>
    <fullsize>posters/event1.png</fullsize>
    </events>
    </eventinfo>
    <mx:HorizontalList id="HorizontalCanvas" height="337"
    columnWidth="180" width="672"
    rollOverColor="#ff3344" themeColor="#DC240B"
    itemClick="callJavaScript()" x="10" y="33" borderStyle="solid"
    dataProvider="{eventinfo.events}" borderColor="#000000">
    <mx:itemRenderer>
    <mx:Component>
    <mx:VBox width="100%" height="350"
    horizontalAlign="center">
    <mx:Image source="{data.icon}"/>
    <mx:Label text="{data.label}"/>
    </mx:VBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:HorizontalList>

    hey atta,
    sry, i was using the &#13; character but for some reason
    when i posted the character it turned into a space so i added the
    space inbetween the & and the #13;
    but yea i think it was the height... changed it to 40 and it
    worked.. i cant believe i didnt notice that lol... oh well... thx
    for the help!!!

  • Insert line break

    I am using v 7.0
    I have a 12 page outline and on page 7 I need to insert a new line of text.
    When using the Touchup text tool, insert and line break, a box is created around one line of text. Upon hitting the ENTER key instead of forcing a line break the line of text was pushed down and superimposed over a line of text below it. I am UNABLE to insert text in the newly created white space.
    1. How should I do this correctly?
    2. How may I correct this error?
    Thank you VERY much. frank

    You need to go back to the original document and make the change. Then create a new PDF. What you are trying to do is not a normal function of Acrobat. Editing can be done, but only minor editing. Moving lines is typically not one of the easy functions to do. You might be able to move the box below what you did enter, but that is about the only solution I know of.
    If you don't have the original, you probably need to export the file to a word processor or other text file and fix it there. You may have to reformat. That is likely easier than what you are trying to do, particularly if it is only a draft type document.

  • Nokia N8 email line break problem

    So, I've only found one other post on here about this problem, with no solution.
    The problem being that when you reply to an email in a hotmail inbox on the N8. Any line breaks (created by pressing return) are ignored and the whole email is sent as one line. The only way to insert a line break seems to be to use the html tag < br/ > which is very inconvenient. Is this a bug or am I doing something wrong.
    Any advice from anyone would be much appreciated.
    dp

    Let's bring this issue again to Nokia's attention. This is very annoying issue, I guess it's a bug. They have to tackle it. It's associated with their client, because if you reject Nokia terms of use, this problem disappears!

  • How can I create a line break in pages for iPad?

    On the Mac you can hold the shift key while pressing the return key to creat a line break. Only pressing the return key will creat a new paragraph of course.
    On the iPad you only can creat paragraphs. Pressing the shif key does not change that.
    Does anybody know how to force a linebrek on the pages app for iPad?

    Tap and hold where you wish to insert the line break. Select Insert from the pop up menu, then Line break.
    this might be helpful for future reference: http://help.apple.com/pages/ipad/1.7/

  • How to avoid starting a page with line breaks?

    Hello. I've just started to refine my Master's thesis and some of the topics moved up and down as I edited their contents. The problem is that in some cases the topic breaks right after the title, and the rest of the contents just move away to another page. Is there any way to avoid starting a page with line breaks or broken topics?

    At the end of your title, you didn't inserted a line break but a paragraph break (carriage return).
    Acivate the mode "Show hidden characters"
    Select the carriage return (paragraph break)
    Delete it
    Press Shift + return to insert a true line break.
    It may be useful to apply that several times if you inserted several carriage returns between the title and the first filled line.
    Yvan KOENIG (VALLAURIS, France) 15 mai 2011 19:40:14

Maybe you are looking for