Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
RichMcCrea #1
rearranged dreamweaver code fix
There is an annoying problem where Visual Studio rearranges Dreamweaver
template markers (which are really just comments so VS should ignore them). I
have bashed my head against the wall in the following application forum in the
the article...
[url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=263&[/url]
threadid=963294 Now, I want to write an extension which fixes the problem.
Can you extension writers tell me if this is possible. Randy from Macromedia
thought it might be difficult to impossible in the Dreamweaver environment
because DW doesn't allow you to rearrange template code (at least in the
editing window). Is this code locked if one tried to rearrange it in the
DW-DOM environment one uses to write extensions.? Anyone want to codevelop
this? I can think about how to do all the string math to fix what studio
rearranges, but will save my breath if DW prohibits this (in extension land).
RichMcCrea Guest
-
Code folding extension for Dreamweaver?
Hello, does anybody knows a code folding extension for Dreamweaver DW CS4? OK you can select some line and fold them but this is not a big help... -
Dreamweaver template code rearranged by Studio.NETvisual designer
I have used Dreamweaver MX2004 to create a C# ASP.NET website. I used the template functionality to give me consistant page design. My problem is... -
Code Hints for ActionScript in Dreamweaver MX
I have developing my AS in Flash MX IDE because it provides me code hints. However, I spend 90% of my in Dreamweaver MX but it doesn't provide me... -
where do u enter registration code 4 dreamweaver
where do u enter registration code 4 dreamweaver like im confused if u could help id appriciate it thanx :) -
Dreamweaver MX not saving code properly
Cheap and nasty solution: - Do a global search and replace :) MX is like a box of chocolates - Someone's usually eaten the good bits already! -
danilocelic *TMM* #2
Re: rearranged dreamweaver code fix
RichMcCrea wrote:
It might be possbile to move the comment around, but not certain. There is a API call dreamweaver.editLockedRegions() that you pass in true that allows you to edit locked regions. Not certain if it'll allow you to move the comment code around though.> editing window). Is this code locked if one tried to rearrange it in the
> DW-DOM environment one uses to write extensions.?
You could also, make sure the file is closed dreamweaver.closeDocument() , and then read it in use DWfile.read(fileURL) manipulate the code, maybe using RegExp, resave the file using DWfile.write(fileURL, newHTML) then maybe reopen the file dreamweaver.openDocument() .
HTH
--
Danilo Celic
| Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
| Team Macromedia for Dreamweaver : [url]http://macromedia.com/go/team/[/url]
danilocelic *TMM* Guest



Reply With Quote

