Line breaks in code view
I'm using Dreamweaver in 90% of the time in code view, and there is one thing I dont like and I can't seem to fix it.
When I have a log text the text breaks at the end of my screen and continues at the next line, instead of giving me a horizontal scrollbar at the bottom of the page.
Is there an option to make this happen?
Dreamweaver has two types of word wrapping in Code view: hard wrapping, which is off by default, and soft wrapping, which is on by default.
Soft wrapping works like a word processor by moving text onto the next line when it reaches the right border, but does not insert a newline character. To turn off soft wrapping, go to View > Code View Options, and click Word Wrap. It's a toggle on-off option. With a check mark alongside, it's on. Just click to remove the check mark and turn off soft wrapping.
Hard wrapping, by the way, is in Preferences > Code Format. It's not recommended, because it breaks JavaScript.
Similar Messages
-
Hi there,
normally the forum software does insert automatically a line break for text posting. If i write a
code posting with the {code} parameter, it does not do like that. Sometimes the posts runs
out of the displayed field.
It is a bug or wanted ?
Regards SteffenThanks.
But now, I have a syntax error.
BEGIN OF xml_line,
data(256) TYPE x
END OF xml_line.
DATA: lt_xml_table TYPE TABLE OF xml_line,
ls_xml_table TYPE xml_line.
LOOP AT lt_xml_table INTO ls_xml_table.
CONCATENATE ls_string cl_abap_char_utilities=>cr_lf INTO ls_string.
MODIFY lt_xml_table FROM ls_xml_table INDEX sy-tabix.
CLEAR : ls_xml_table, ls_string.
ENDLOOP. -
Change line height in code view?
Hello,
Using DW8. In code view, I need to use a large font size but
in so doing the lines are very close together. Is there any way to
adjust the line height of the code?
Thanks.If you referring to the actual text of the web page, yes. For
example, in a
paragraph:
p{
line-height:1.5em
If you're referring to the code editor, I don't think there
is.
"EL11" <[email protected]> wrote in message
news:eqatot$4i$[email protected]..
> Hello,
>
> Using DW8. In code view, I need to use a large font size
but in so doing
> the lines are very close together. Is there any way to
adjust the line
> height of the code?
>
> Thanks. -
I am on Mac OS X Yosemite using DW CC 2014. Code view is set to Source Code Pro. The problem is that line height in code view is smaller than the font height -- or something like that.
This screenshot demonstrates what I mean. Look at these characters: {,},y,g and see how they are cut off at the bottom. I've tried to fix this by changing fonts but most other fonts show the same problem. Changing font size in DW preferences also does not fix it. I tried changing the Source Code Pro set altogether using Suitcase Fusion. That did not help either. When I try to use Source Code Pro in other apps it works fine. So this seems to be a DW-specific problem.
Any ideas?Hello Almir,
The issue is due to missing fonts: Tahoma and Verdana. We have a bug logged for the issue and will looked into.
Kindly follow the below workaround till the issue is fixed.
1. Launch Font Book from /Applications/
2. If Tahoma and Verdana fonts are disabled, enable the fonts
Or if the fonts are missing, install the fonts.
3. Launch Dreamweaver
Let me know if the workaround is able to fix the issue for you.
Regards. -
Help! Can't paste into code view or property inspector
I'm experiencing a weird and extremely annoying bug in Dreamweaver CS6 -- I can't paste text from outside apps into DW's code view or into the property inspector (such as URLs).
Pasting doesn't work no matter the method: Ctrl + V, right-clicking or using the Edit menu. Pasting works normally in every other program. If I copy within Dreawmweaver, pasting works fine.
Does anyone have a solution for this? I'm running Win 8 and DW 12.1 through Creative Cloud. Searching the forums, I see others have reported the same issue. Some have been able to fix it by deleting the configuration file; that didn't fix the issue for me. I'd like to try reinstalling DW, but the Adobe Application Manager doesn't seem to allow that.
I began noticing this bug about two weeks ago. That might have been about the same time I updated to 12.1. Can anyone help?
Thanks,
Cory K.Adding to my last post, I used a clipboard format inspector called nclip (http://code.google.com/p/nclip/) to see if I could find a pattern between "what works" and "what doesn't".
There are two cases where I'm seeing paste-into-Dreamweaver CS6 fail:
Paste into Code View fails, but Paste into Design View works!
Paste into either Code View or Design View fails
I went through the list of programs that worked and didn't worked, using nclip to show what clipboard formats were being saved from each working and non-working source. It appears that DreamWeaver CS6 as of January 9, 2013 doesn't accept the most basic text clipboard formats:
CF_UNICODETEXT
CF_TEXT
CF-OEMTEXT
CF_LOCALE
If these are the only clipboard formats used by an app (for example, Window's venerable Notepad.exe), Dreamweaver doesn't appear to handle them. Most programmer-style text editors output just these formats, because they are presumed to be understood any application that handles text. These fail for both pasting into codeview and design view.
Interestingly, Chrome browser fails the code view test, but it does work in design view! It outputs the four clipboard types above, plus one more:
Custom Format: HTML Format
Hypothesis 1: Any application that puts HTML Format on the clipboard will paste into design view, but not necessarily code view.
Next, Visual Studio 2010 and Sticky Notes, which doesn't include HTML Format as a clip type, works for both code view and design view. They both output this type in addition to the basics:
Custom Format: Rich Text Format
Two programs that output Rich Text Format without HTML Format are Sticky Notes and WordPad. These both work with Code View and Design View. From these limited tests on my system, it appears that for Dreamweaver to accept a text paste from an outside program into Code View, that program must output Rich Text Format to the clipboard. Otherwise, it fails. Dreamweaver will accept HTML Format, but only in Design View. Firefox is an exception in that it don't export Rich Text Format, but still works with Code View. It might use OLE, though (Chrome doesn't seem to use OLE, and it breaks in code view).
Hypothesis 2: Any application that puts Rich Text Format on the clipboard will paste into design view AND code view.
If Dreamweaver is really ignoring the basic text clipboard formats, and it's not just my system configuration, then this is a bug. Probably something that got overlooked in testing.
To reproduce on Dreamweaver 12.1 build 5966:
Try copy/pasting text from Notepad.exe into Dreamweaver Code View (DWCV). This fails for me.
Try copy/pasting text from WordPad.exe into DWCV. This works!
Try copy/pasting text from Internet Explorer 9 or Firefox into DWCV. This works!
Try copy/pasting text from Chrome. This fails to paste into Code View, but does paste into Design View
The Code View workaround:
Use Firefox or Internet Explorer for your browser if you're copy/pasting source code.
If you're working from another text editor, try copy/pasting into intermediate programs Sticky Notes or WordPad, then copy/paste from there into Dreamweaver.
So that is my experience on Windows 7 64-bit. Anyone else experiencing the same thing? -
How to remove extra line breaks in my html code?
On my website: 2neatmagazines.com, I have old html, written years ago. The html all functions fine, no problems in the broswers. When I Iook at the code, there are lots of line breaks in the text portions.
I can do "apply source formatting", and that has cleaned and aligned the html code nicely. But, the text descriptions in the html still breaks at fixes places. This does not affect how it renders, just how the code looks. For example:
<p align="left"><span class="blacksregularbold"><span class="blackregular">Life
Magazine </span>January 11, 1937</span> : Cover - Japanese
soldiers doing their exercises. Full page LIFE magazine
ad with railroad locomotive at night. The "first"
candid photographs taken by Paul Nadar of Paris in 1886.
Governors - new and old. Margaret Sanger wins the court
victory that birth control contraceptives can be sent
by mail, long fight for related women's rights . Bootleg
coal mining near Shamokin, Pennsylvania. Painter Winslow
Homer. Dinosaurs Enshrined (collection, storage and
display of dinosaur fossils in museums, including Dinosaur
National Monument). Baths of Foam, milk, mud,and wax
for beauty. . Theatre in 1936 and 1937. Japanese Army.
Sonja Henie in her movie "One in a million."
Includes photos of Sonja Henie bicycling - looks like
today's town cruiser bikes. . Amazing series of photos
of San Francisco people interacting (or not) with bum
laying on sidewalk. Photos from wreck of United Airliner
which crashed December 27, 1936 in the Santa Susana
Mountains of California. Five airline crashes in two
weeks at end of 1936. Ice hockey fights. "Tobacco
Road" on Broadway. Japanese soldiers training.
Neat photo of five new locomotives in a row, Canadian
National Railways. <br />
<span class="redregular">Very Good</span> - $52
I would like the main text to be wrapped, and neat. I have tried various "text cleaners" like Haven for the mac, but none of the settings will get rid of this annoying line break formatting.
Any suggestions would be appreciated.
markThe only "Line Break"
<br /> I see is at the end.
Code formating just cleans the display of the visual code it doesn't effect the browser display.
You can do a "Search and Replace" the <br /> with nothing. to strip all <br /> for the whole site or DIR or page.
In code view right mouse click and choose
"Search and Replace"
Is this what your are asking help on?
Shane -
DW CS6: Extra empty blank line in code view causing trouble!
Hi all,
I searched for hours for a solution to the following problem, without any success.
When coding in Dreamweaver CS6 (Version 12.0, Windows 8.1), an extra non-editable blank line is automatically added at the bottom of the document (in code-view). This is a nice feature, since it clearly separates the end of the document from the rest of the DW user interface. BUT:
WHEN you have "Word Wrap" disabled (i.e. horizontal scroll bars appear if one or more lines are longer than the current view),
AND no line is actually longer than the view (i.e. NO horizontal scroll bars),
AND you click somewhere into the document while the vertical scroll bar is at the very bottom,
THEN the code view jumps one line upwards causing a selection of 2 lines.
This might not seem to be a big issue at first glance, but surprisingly often all of the mentioned conditions are met.
Is there any possibilty to somehow get rid of this problem?
Note: The problem does not occur when any of the above conditions is false.
Cheers!
CamelCaseThis is strange...
Yes, I just updated DW to 12.03 a minute before I posted the question. ;-)
Are you sure you cannot reproduce it? Is there a blank line at the bottom of your editor as well?
Here are the conditions again:
Word Wrap is disabled.
No line too long for vertical scrollbar to appear.
Scroll fully down in the code view.
Click somewhere into the document.
Effect: The view jumps exactly one line upwards (such that the mentioned blank line just disappears), and instead of a blinking cursor, two lines are selected.
Here is a screenshot before/after the click:
I appreciate any help. Really, thank you!! -
Unwanted Line Breaks in PL/SQL CODE after 'CREATE OR REPLACE' statements
Does anybody know how to keep SQL Developer from automatically editing PL/SQL code and adding line breaks after 'CREATE OR REPLACE' statements?
It keeps taking:
CREATE OR REPLACE PACKAGE DEVELOPER AUTHID DEFINER
And turns it into:
create or replace
package developer AUTHID DEFINER
This unwanted linebreak causes our autodeployment processes to break.
Thanks,
Michael Dunn
University of Notre Dame
Edited by: user9133268 on Feb 21, 2012 8:00 AMHi Michael,
I believe nothing for this issue has progressed since it was asked here:
2.1 RC Extra Line Breaks
As there may be approval for some planned improvements to the SQL Formatter feature in 3.2, I logged an enhancement request for you:
Bug 13744858 - FORUM: UNWANTED LINE BREAK AFTER CREATE OR REPLACE SYNTAX
Regards,
Gary
SQL Developer Team
Edited by: Gary Graham on Feb 21, 2012 4:19 PM
But if you have control over your auto-deployment process code, it might be quicker to enhance that to deal with CREATE OR REPLACE on the same or the preceding line. Also, note that if you edit the package DDL to put the CREATE OR REPLACE on the same line with the package name in the code editor, then immediately use Export or Save Package Spec and Body to save it to disk, then PACKAGE <name> will appear on the same line as the CREATE OR REPLACE syntax. -
Is it possible to change color on the line strip/code view in CS6?
Hello -
I did some research on this and cant seem to see if this can be done - I was hoping to change the color of the blue line menu on the code view screen.
EricI take it you're referring to that vertical line in the left hand side of Code View? I don't think it's possible to change the color. If you disable line numbers (#), it's a bit less noticeable.
Nancy O. -
Thousands of blank lines in code view? Where did they come from?
I have an older DW site, that for some reason when I open certain pages in code view show literally thousands of blank lines. So line 1, code, line 2-15 are blank, then what used to be line 2 of the code, is now line 16. All the way down the line. This one page literally has THOUSANDS of blank lines in it:
Aurora Prom Corsages, Boutonnieres, Flowers, School Dance Flowers-Yorkville, Osego Illinois
page renders, edits and looks fine in DW, browsers, etc.
My client edits it with Contribute. I use DW.
There are certain pages he opens regularly, never saw the lines, other pages, just opens once a year, lines all over again.
We can't find any rhyme or reason to it.
Has anyone ever seen this?Try opening one of those pages in DW and then go to Commands > Apply Source Formatting and see if that cleans them out.
I've heard of a bug where adding html comments can cause added blank lines in certain versions, I've never seen it myself though. -
Vertical Lines or Guides in Code View
Hello:
Am I missing a setting in DW or did they just not include this. I am used to seeing vertical lines in code view to note where the beging of a tag originated. For example if I put a <TD> tag somwhere in the document and move on down the code line, when I finally put the </td> tag there is a vertical line leading up to it.
Any help or advice on this would be very helpful.
Paul@pmsquillace : definitely! I am dying for vertical grid lines. Dreamweaver, this is a must. This feature is needed greatly. I just looked for yet another time to find a plugin for Dreamweaver to get vertical lines but 0 results.
Now I have realized my own best option is to use the pixel ruler . It can be a lesser substitute which I an now going to use as needed.
@John Waller : I am submitting a feature request right away. Thanks for the link. -
Dotted lines for tab indents in Code View
Does anyone know how to whip DW's code view into the current century? I Specifically showing tabs in code view. Other IDE's have a great way of showing tab indenting with subtle lines. DW's approach is heavey handed and garish. IMO it's unusable in it's current form. See comparison below.
Is there a plugin, xml hack, or hidden preference that would allow me to achieve something similar?Try opening one of those pages in DW and then go to Commands > Apply Source Formatting and see if that cleans them out.
I've heard of a bug where adding html comments can cause added blank lines in certain versions, I've never seen it myself though. -
How I activate, when in code view current code line, to be
highlighted (all line) eg light-blue ?Actually, in Windows (XP) the highlight color (in DW8) is a
byproduct of the
color scheme you set for your desktop.
Walt
"Michael" <[email protected]> wrote in message
news:gn7fpk$hbp$[email protected]..
> In code view, click the line number in the left margin
corresponding to
> the line of code you wish to highlight. Left click that
number and the
> whole line will be highlighted in blue.
>
> Michael
> -
Code for a simple line break?
Anyone know the syntax for a line break for data that is
being displayed in notepad file:
<CFCONTENT type="application/txt">
<CFOUTPUT
QUERY="getLines">#pccn##plisn##data##card#(need a line break
here)</CFOUTPUT>Ken F. wrote:
> Anyone know the syntax for a line break for data that is
being displayed in
> notepad file:
>
> <CFCONTENT type="application/txt">
> <CFOUTPUT
QUERY="getLines">#pccn##plisn##data##card#(need a line break
> here)</CFOUTPUT>
>
#chr(13)##chr(10)# <!--- I.E. ASCII Codes for line break
and carriage
return. ---> -
Separate email views with line break
Having used MS products for years and now committed to Macs, does anyone know if there is a way to get a line separator on email view:
- if viewing by date received, line would separate the days
- if viewing by sender, line would separate the emails by sender...etc
Right now in Mail, it will just show all emails, grouped, but no seperator...Hi,
you can seperate the sting with '0D'.
lh_return = '0D'.
split xeing-dline at lh_return
into dtext1
dtext2.
[http://www.torsten-horn.de/techdocs/ascii.htm]
Maybe you are looking for
-
Goods receipt reference to Purchase Order non-material master items
Dear all, Platform: SAP R/3 4.7 I'm working in my customer environment whereby the purchasing scenario is as follows: 1. Create a normal PR me51n -. enter material description for the item to purchase, qty, price, plant and etc. My customer doesn't m
-
F.13 - No document selected-v
Hi, 1. I created a Goods receipt for 10000 2. I created a MIRO for 10000 3.I am trying to do GR/IR clearing throught F.13. by selected the following parameters: Company code Fiscal year GR/IR clearing account (it is a post autom
-
I use the included Calendar app. Is there any way to Duplicate an event? For example, I have a previous appointment that is going to happen again. It would be helpful to go to the previous event, duplicate it, change the date and time and have a new
-
I made a Photo Book and tried to save the slideshow how do I do that
I made a Photo Book in I PHOTO! When I looked at the Book by pressing the slideshow button - I would like now to save that book as the slideshow also. How do I do that?
-
My daughter changed the password to our ipod touch and cannot remember it. What do I do to reset it?