Auto Code Wrapping
I've unchecked it in the preferences, but my code still
wraps! How do I stop this?! I don't want it to wrap at all.
ogre11 wrote:
> I've unchecked it in the preferences, but my code still
wraps! How do I stop this?! I don't want it to wrap at all.
There are two types of code wrapping in Dreamweaver: hard
wrap and soft
wrap. Hard wrapping is controlled by the Preferences panel,
and is off
by default. Soft wrapping is controlled by the Code View
Options menu
(on the View menu), and has been turned on by default since
Dreamweaver
8 (or possibly MX 2004).
To turn off soft wrapping, access the Code View Options menu
and click
Word Wrap to remove the check mark alongside it. Dreamweaver
should
remember this option for all subsequent pages.
Hard wrapping inserts a new line character in your code. Soft
wrapping
works like a word processor by shifting text (code) onto the
next line
when it reaches the right margin, but doesn't insert a new
line character.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Similar Messages
-
Auto code completion settings for new ABAP Editor
Dear all,
I am working in New ABAP editor but i am unable to set auto code completion,
please tell about customising of new ABAP editor for Auto code completion.
Thanks and regards,
Gaurav SoodHello,
1. Choose Utilities ® Settings.
The User-Specific Settings dialog box appears.
2. Choose ABAP Editor.
3. Set the new editor mode.
From:
http://help.sap.com/saphelp_nw04s/helpdata/en/43/29dee414483fe1e10000000a11466f/frameset.htm
Regards,
Jorge Diogo -
hi,
i am using following query for auto code generation group wise
declare @temp as char(20)
IF $[OITM.ItmsGrpCod] = 101
BEGIN
set @temp=(select isnull(max(right(ItemCode,6)),0) + 1 from OITM where (ItmsGrpCod= 101) and (len(ItemCode)=7))
set @temp='FAB'+isnull(replicate(0,6-len(@temp)),'')+@temp
select cast(@temp as char(20))
END
ELSE IF $[OITM.ItmsGrpCod] = 104
BEGIN
set @temp=(select isnull(max(right(ItemCode,6)),0) + 1 from OITM where (ItmsGrpCod= 104) and (len(ItemCode)=7))
set @temp='BRD'+isnull(replicate(0,6-len(@temp)),'')+@temp
select cast(@temp as char(20))
END
but this does not increment code automatically every time it shows me FAB000001 and BRD000001
thanks
rahulSolved
-
Business partner auto code generation
hi how to create business partner auto code generation. its based on customer group for example we have more customer group..dealer, distributor,subcontractor...
here dealer and distributor group starting cardcode is - C000001,C000002,C000003..... etc
when i was choose subcontractor its starts SUB00001,SUB00002...... etc
vendor is maintain same starting letter in all groups V000001,V000002
Thanks in advance
Thanks & Regards
B.Lakshmi Narayananhi thanks for your valuable replies...
i changed the codes...pls check its right or wrong
declare @temp as char(20)
IF $[OCRD.GroupCode] = 104 and $[OCRD.cardtype] = 'c'
BEGIN
set @temp=(select isnull(max(right(cardCode,7)),0) + 1 from Ocrd where (groupcode= 104) and (len(cardCode)=7))
set @temp='TRA'isnull(replicate(0,7-len(@temp)),'')@temp
select cast(@temp as char(20))
END
ELSE IF $[OCRD.cardtype] = 'C'
BEGIN
set @temp=(select isnull(max(right(cardCode,7)),0) + 1 from Ocrd where (len(cardCode)=7))
set @temp='C'isnull(replicate(0,7-len(@temp)),'')@temp
select cast(@temp as char(20))
END
ELSE IF $[OCRD.cardtype] = 'S'
BEGIN
set @temp=(select isnull(max(right(cardCode,7)),0) + 1 from Ocrd where (len(cardCode)=7))
set @temp='S'isnull(replicate(0,7-len(@temp)),'')@temp
select cast(@temp as char(20))
END
Thanks & Regards
B.Lakshmi Narayanan -
Hi-
Is there any way to change how Jdev 10g auto-formats code? For instance, if I enter a new function:
public void foo() {[enter]
Jdev automatically converts this to:
public void foo()
|[cursor]
I like my opening curly brace on the same line as the declaration - is there any hope? I see that I can modify the code templates, but these do not seem to be involved in the auto formatting.
Thanks,
Eric Everman
USGSI can't get this to work! It doesn't matter what settings I select on the tools->preferences->Code editor->Java page, it doesn't seem to make any difference.
For example, if I select "On the Same Line", deselect "Add Closing Brace Automatically" and deselect "Move Open Brace To Match Preferred Style" it still moves the open brace onto it's own line. Anyone else having this problem, or found a way to fix it?
Thanks
Vince -
Anchored Frame with auto shrink wrap
Hi
I have an issue that I need help with.
I'm importing a range of graphics into my document and in my read/write rules I have all of the required properties to the images. When the images are imported they are correctly displaying (size etc) but the default margin of the anchored frame is still there. Is there any way that you can automatically apply the shrink wrap to the anchored frame (or set the anchored frame to have a default margin of 0?).
Some of the images that we have are only 5mm x 5mm and there may be several of these on a single page. Therefore selecting each individual image and pressing Esc m p to shrink wrap will become a very time consuming process.
Any suggestions that may be provided would be greatly appreciated.
Regards
Reeta.You want Bruce Foster's ImpGraph plug in.
http://home.comcast.net/~bruce.foster/ImpGraph.htm
It works well.
Art
Art Campbell
[email protected]
"... In my opinion, there's nothing in this world beats a '52
Vincent and a redheaded girl." -- Richard Thompson
No disclaimers apply.
DoD 358 -
Does anyone know why Dreamweaver MX automatically edits my
code? I have changed all the settings in order that it doesn't
automatically decide what to do with my code but for some reason it
still changes my tags. For example, anytime I have my code like
this...
<table>
<tr>
<td>
</td>
</tr>
</table>
Dreamweaver decides to change it to this...
<table>
<tr><td></td></tr>
</table>
I hate that!!!
Does anyone know how to make DW MX stop doing this???Maybe you can try this Mac swf to video converter. However, it's not free, it will cost you 100 bucks.
-
Auto code completion - where?
firstly - sorry if this already exists somewhere - i searched
but couldn't find anything -
i keep reading everyone go on about DW code completion and
how great it is - but can't find how to edit my own code completion
tags like i could in HTML-Kit. can someone push me in the right
direction? - eg
in html-kit i could write
<table
and it would write
<table cellspacing='0' cellpadding='0' border = '0'
summary='<%=summary%>'>
<tr>
<td></td>
</tr>
</table>
or <img would write <img src="images/"
alt='<%=alt%>' border='0'>
i even got lazy and started making tags like :-
write : would return response.write("")
and
codeupdate
would write :-
Set RsUpdate = Server.CreateObject("ADODB.Recordset")
strSQL = "Select * FROM tbl where id = " & id
RsUpdate.Open strSQL, conn, 3,3,1
anyway - you get the idea.paulthemann wrote:
> firstly - sorry if this already exists somewhere - i
searched but couldn't find
> anything -
>
> i keep reading everyone go on about DW code completion
and how great it is -
> but can't find how to edit my own code completion tags
like i could in
> HTML-Kit. can someone push me in the right direction? -
eg
Unfortunately, the code completion (Code Hints) within DW
doesn't allow for the type of customization that you're talking
about.
You could take a look at snippets though, they may get you
closer to having custom blocks of code inserted into your page. You
can even apply keyboard shortcuts to them to make them a couple of
key operation. Eidt -> Keyboard Short Cuts (make a copy of an
existing set if you haven't already) change Commands to Snippets
and away you go.
Danilo Celic
| Extending Knowledge Daily :
http://CommunityMX.com/
| Adobe Community Expert -
Auto code(Hex) generation in labview
I wanted to know is there any possibility of generating Hex code automatically from the VI we have made the moment we run the VI.
This is because as MATLAB has this provision which adds major advantage in automotive companies.
Solved!
Go to Solution.Hello Praveen,
Which microcontroller are you planning to code in?
If it is ARM microcontroller then the following KnowledgeBase Article might help you:
http://zone.ni.com/devzone/cda/tut/p/id/6207
Following webcast discusses how to port LabVIEW code to a 32b Microprocessor.
https://lumen.ni.com/nicif/us/demolvportembd/content.xhtml
Thanks.
Karun Jain -
i know how to wrap a standalone unit....say for example if i want to wrap a procedure sample.prc
then from the command prompt i issue the following cmd
wrap iname=sample.prc oname=sample.plb
i want to know how to perform wrap of all procedures or packages at a time..(batch wrap)..first of all is it possible?
wat r the db objects that can be wrapped?
wat r the steps to be followed for wrapping the objects and how to unwrap?i want to know how to perform wrap of all procedures or packages at a time..(batch wrap)..first of all is it possible?Why don't you write a shell script and then give a try?
wat r the steps to be followed for wrapping the objects http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/c_wrap.htm
and how to unwrap?I think - you will keep a original copy of your scripts - so you can get the source from there. Aren't you?
Regards.
Satyaki De. -
Hi everyone,
I am new to using LabVIEW (I've come from a background of C/C++, Java, Perl, etc...) and have learned quite a bit about using LabVIEW 7.0. But what I am finding is that it is horrible about code reuse. Apparently, from what I can gather, if I wish to reuse code, I need to generate a VI template which is a fancy way of doing copy coding *shiver*.
So fine, if copy coding is the only way to generate reusable code, so be it, but is there a way of automatically replacing a static typedef with another automatically from a referencing VI? If I was coding this in C, I would use a sed script to search and replace the type name with another in the files, but given the binary nature of the .vi and .vit files, I don't think that this is an option.
I can't wait till we move over to LabVIEW 8.x which supports OOP as this will alleviate much of the problems I am seeing.
Any help anyone can give is greatly appreciated. Thank you for your time.
AdrianThat should have been
File >>> Save with options >>> single prompt >>> preserve hierachy
I wrote a VI that will clone rename and replace a typedef but it is in LV 7.1. Lacking that tool you will have to do the cloning by hand.
For your icon you use these methods.
And to save you asking about other things that will require scripting, see the Rusty nails on LAVA.
Ben
Message Edited by Ben on 10-03-2007 12:29 PM
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Attachments:
Icon.PNG 23 KB -
Refactor - Renaming Problem Auto Code Generation
After renaming the java source files (backing beans) to upper case letters (ex. from console.java to Console.java),
JSC is not able to instantiate this class anymore, because the managed-bean.xml is altered automatically.
The next problem is the jsp-file. JSC produces some useless code which points to the new (by JSC) created managed beans (old ones still exist)
example (jsp):
</ui:body>
</ui:html>
</ui:page>
</f:view>
<ui:body binding="#{request$console.body1}" id="body1"/>
(managed-beans.xml)
<managed-bean>
<managed-bean-name>request$console</managed-bean-name>
I�m not able to delete this generated code, because after saving and reloading the jsp-file the inserted code is still there.
In the projects view my java source files are shown in small letters, even if the files are in upper case on the file system (explorer).
I�m using Studio Creator 2 Update 1 (Build 060915)
The project can only be deployed (exporting *.war in JSC) and executed when i change the file attributes to read-only after editing them with a standard text editor.
Any suggestions?Hi Naveen,
I found these two fms's which would enable automatic item code generation. See if it helps you.
declare @temp as char(20)
IF $[OITM.ItmsGrpCod] = 101
BEGIN
set @temp=(select isnull(max(right(ItemCode,4)),0) + 1 from OITM where (ItmsGrpCod= 101) and (len(ItemCode)=7))
set @temp='DRM'+isnull(replicate(0,4-len(@temp)),'')+@temp
select cast(@temp as char(20))
END
ELSE IF $[OITM.ItmsGrpCod] = 102
BEGIN
set @temp=(select isnull(max(right(ItemCode,4)),0) + 1 from OITM where (ItmsGrpCod= 102) and (len(ItemCode)=7))
set @temp='PKG'+isnull(replicate(0,4-len(@temp)),'')+@temp
select cast(@temp as char(20))
END
And:
DECLARE
@NUM AS CHAR(7)
SET @NUM =
(SELECT RIGHT(MAX(CardCode), 7) FROM OITM)
SET @NUM = @NUM + 1
BEGIN
IF @NUM IS NULL OR @NUM = 0
BEGIN
SELECT 'I0000001'
END
IF @NUM < 10
BEGIN
SELECT 'I000000' + @NUM
END
IF @NUM > 9 AND @NUM < 100
BEGIN
SELECT 'I00000' + @NUM
END
----COMPLETE THE CODE
END
Thanks,
Joseph -
Item - 1000000001 - 1000016632 - Last No.
to generate this
i have attached
DECLARE @NextNumber INT
SELECT @NextNumber =
ISNULL(MAX(CAST(RIGHT(T0.ItemCode, LEN(T0.ItemCode) - 1) AS INT)), 0) + 1
FROM OITM T0
WHERE ISNUMERIC(RIGHT(T0.ItemCode, LEN(T0.ItemCode) - 1)) = 1
SELECT
REPLICATE('1', 10-LEN(CAST(@NextNumber AS NVARCHAR))) +
CAST(@NextNumber AS NVARCHAR)
but it is not giving the desired value...where to changeHi Rupa......
Please have a look to this code sample and make changes as per your logic.
This will work.....
declare @temp as char(15)
IF ($[OITM.ItemType]) = 'I' And ($[OITM.ItmsGrpCod]) =101
BEGIN
set @temp=(select max(right(Itemcode,5)) + 1 from OITM where (Itemtype='I') and (len(Itemcode)=9) and (left(Itemcode,4)='RASB'))
set @temp='RASB'+isnull(replicate(0,5-len(@temp)),'')+@temp
select isnull(cast(@temp as char(15)),'RASB00001')
END
Regards,
Rahul -
Auto code completion in JSC2 is less than JSC1 ?
If you want to read a context param in Page1.java you can use:
this.getExternalContext().getInitParameter("PARAM_NAME");
This works in JSC1 and JSC2.
But if you put this. then a popup will list some available methods. In JSC1 this list includes getExternalContext(), but not in JSC2 ! Why?
Thank you very much.Hi Giri,
But when I do this in my machine:
I typed this.getE then pressed ctrl and space bar, then there comes a small pop up box with myproject.page1.getE*
But in JSC1, after typing this. all available methods are displayed including getExternalContext().
In JSC2 after typing this., some methods are displayed but getExternalContext() not available.
Thank you very much. -
Object Oriented Modelling and Code Generator
i have a final yr project on java--any help plzz
Objectives:
In software development we make extensive use of models to capture details about objects in a domain, the attributes of the objects and the relationships between the objects. Once complete, these models also contain constraints on the objects and their attributes.
The aim of this project will be to develop a GUI to draw an appropriate software model and to automatically generate a set of Java classes consistent with the model that can be used to rapidly implement the software.
This research will aim at analysing the different modelling techniques and the mapping of these models to java codes.
note: any good advice..Hello there..
I Together Control is one of the best tool that can serve ur purpose
this is pretty good Tool.
Specially auto code generation is cool.
Look in to borland site..( They now took overtogether ) for free eval version ..
Regards
Manu
Syntel
Maybe you are looking for
-
Hi I have been working with javascript and php to upload files. I am having problems with the backend of the file upload. So when the file is recieved in the backend.php . It comes like: $fileupload=$_POST['upload_file']; The above $fileupload is the
-
Custom content selection in apple tv 2.0?
Hi, I was wondering whether it's possible to build a kind of "custom selection" of the itunes content to be shown through ATV. The selection whould be larger than the ATV hard drive space. There's the "Show only the synced items on my Apple TV" check
-
User interface annoyances in N97
I just basically wanted to nag about few really annoying features in hope that Nokia might actually read this post. Please feel free to reaply and add to this list. Unlocking announcements Due to security, my phone locks itself every 60 minutes when
-
Copying objects in the script editor
Hello, I need to add a new user to my call center script. This user will have the same objects as another user on the script the only difference will be the name of the skill group on those three objects. Can I just copy those objects from the oth
-
Hi all, In Aperture documentation there is "support" mention about DNG files. I have Leica Digilux-2 camera which makes "Leica/Panasonic" RAW files. These RAW files are not in Aperture list, but I can convert them with Adobe DNG converter. But Apertu