Code syntax coloring/format toggle?

OK...
I am a super newb to Flash Builder, but I own 4.7.
I have a MXML file that I found that I'm redoing to suit my needs.  I have the original open next to my version in case I screw something up I have referance.
Wilst switching between them I made a "happy mistake".  Somehow I hit CTRL something something, and it reformatted my code with color syntax and some organization.
See the difference?  I like the new coloring!
I don't know what I did and i spent 3 hours f'n with preferances and settings all over the place and I cant recreate this!  What did I do and how do I do it again?
Please please help!

my syntax coloring went haywire and made everything pink. how do I fix this?
If your syntax coloring is incorrect in DW, then usually it's because your syntax is incorrect. That's the purpose of syntax coloring. Start where the coloring is incorrect and go backwards until it is correct. The syntax error should be in that area.
With that said, there are a few cases where DW does not recognize the syntax. If the syntax is correct, post a link to your page so that we can see it.
HTH,
Randy

Similar Messages

  • Syntax coloring in code view not working in CS6

    I just got CS6 installed for Windows XP, first time using it, and the HTML syntax is no longer color coded like I was used to in CS5 and earlier.. I assume you would turn this on/off through View > Code View Options > Syntax Coloring, but when I try to select this, nothing happens and the option remains unchecked in the menu.
    It seems to be the only thing in the Code View Options menu that I cannot turn on/off, but it's not grayed out or turning up any error messages or anything...
    Any idea what's going on?

    I didn't have a previous version of Creative Suite before this, so nothing to clean off. It's a work PC that just got set up with CS6 for the first time - I wasn't able to find that cache file (the instructions are for CS5 and earlier), but since this started happening straight out of the box, I'm not sure the cache would be the problem?
    And no, the "Syntax Coloring" option is not greyed out - it's actually black, so looks like it SHOULD be selectable, but I click it and nothing happens, and it remains unchecked. That's the confusing thing.. no obvious hurdles to toggling that option...

  • Flash Builder improvements, Syntax coloring, Custom format, Auto close

    Hello,
    I'm trying Flash Builder 4.7 but I see there is missing features in the Softaware.
    I didn't found this important features in the preferences and I think you could add this new features in the new version of FB:
    Syntax coloring like Flash Professional: Coloring the AS3 keywords properties and methods like (addChild, x, y, width, height, etc.)
    Custom format code. In FB 4.7 there no way to custom the format code in AS3 but you can do it for Java.
    AutoClose : Inserts matching bracket, paren, brace or quote
    A list of color themes
    I hope it will help to improve this software.
    Cheers.

    I've always had the feel/assumption that Flash is more of a priority to Adobe than Flex / FlashBuilder evere was/is. Try using FlashDevelop with Flash to compile.
    If by action we can assume answer then the following I would assume:
    Adobe: Don't fix old bugs in FlashBuilder even when it was still named Flex, only seen updates to major / critical bugs
    Assumed reasoning for this: Low priority product, not enough resource allocated to product development, no development time assigned to enhancing / correcting the old components, eclipse product enhancement is beyond their skill set, or just simply don't care...... pick one and go with it.
    Joe Public: Requested better code colouring, syntax highlighting, language recognition (many years ago)
    Adobe: Added new commands to intelisense and informational popups when they arrived but apart from that not much else has been done.
    Assumed reasoning for this: Low priority product, not enough resource allocated to product development, no development time assigned to enhancing / correcting the old components, eclipse product enhancement is beyond their skill set, or just simply don't care...... pick one and go with it.
    Joe public: Left to hoping Eclipse plugins can help with this

  • In dreamweaver cs6 12.0, build 5842, there is no syntax coloring on main code view?

    In my dreamweaver CS6, why is there no syntax coloring showing on the main code view window on php or any files? It works in window>code inspector, but this does not have all the same functionality. ther is no preferences icon anywhere that I can see to turn this feature on or off? This used to work until just recently. Nothing on google, but the main basics. I tried checking preferences under syntax coloring and all is okay and shows color. I also reinstalled and restarted PC. I am on a macbook with retina display. on mountain lion with latest updates. CS6 is different than cs5 in menus. Please help soon!

    Thanks for the help. I didn't think the retina did, I just wanted to help clarify what I was working with. I tried changing the external editor also and that got the split design view working again, but still no code coloring gosh darnit.

  • Syntax Coloring for PHP in HTML Files

    I'd like consistent syntax color throughout my documents,
    which can be CSS, HTML or PHP. However, when I write PHP code into
    anything but a PHP document, it comes out in a single, or
    dual-color format making it much less "pretty", and not nearly as
    easy to read. HTML has CFM and ASP color options, but not PHP (and
    I don't want to have to format the color twice in preferences
    anyhow). I've tried grouping .html files in with the PHP/MySQL
    color grouping in the DocumentTypes setting (Dreamweaver
    8/Configuration/DocumentTypes), which works, but results in a crash
    each time I do anything but look at a document.
    Anyone experience this behavior, or better yet, have a
    solution to make Dreamwever's syntax color consistent within
    itself?
    BWT, this refers to Dreamweaver 8.0.2, Mac OS X 10.4.7. And
    the rest of the Studio is installed as well.

    jasonkenison wrote:
    > I'd like consistent syntax color throughout my
    documents, which can be CSS,
    > HTML or PHP. However, when I write PHP code into
    anything but a PHP document,
    > it comes out in a single, or dual-color format making it
    much less "pretty",
    > and not nearly as easy to read.
    Follow this link (watch the wrap), and scroll down to Randy
    Edmunds' answer:
    http://groups.google.com/group/macromedia.dreamweaver/browse_thread/thread/a60b556f59869a8 6/666ff112459275ec?lnk=gst&q=php+html+color&rnum=2#666ff112459275ec
    He gives the details for Windows, but you should be able to
    find the
    correct file easily enough on a Mac.
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Syntax Coloring Not Functioning

    Hello All,
    For some reason my code is not colored as it should be. I'm
    using Dreamweaver 8 on a Windows XP.
    I have tried to enable it by going to "View > Code View
    Options > Syntax Coloring, but a check never appears indicating
    that Syntax Coloring has been enabled. The "Syntax Coloring" option
    isn't grayed out, so it should allow me to select it, but it just
    doesn't.
    My preferences for code coloring for all document types are
    set to their defaults.
    It is not because of un-closed tags or any error in the code,
    this problem happens in all the default documents that Dreamweaver
    ships with.
    I even did a "repair" re-install but still no change.
    Any insight would be greatly appreciated. Thanks.
    -Daniel

    I didn't have a previous version of Creative Suite before this, so nothing to clean off. It's a work PC that just got set up with CS6 for the first time - I wasn't able to find that cache file (the instructions are for CS5 and earlier), but since this started happening straight out of the box, I'm not sure the cache would be the problem?
    And no, the "Syntax Coloring" option is not greyed out - it's actually black, so looks like it SHOULD be selectable, but I click it and nothing happens, and it remains unchecked. That's the confusing thing.. no obvious hurdles to toggling that option...

  • Syntax coloring / Keyword adding

    In Flash Builder 4, (sorry I'm still downloading, seems a bit slow today, surprise)
    Will it be a big pain in the neck to change the syntax coloring?
    Could I add my own keywords to some kind of list.
    This release seems to be playing catch up to FlashDevelop (I view this as a good thing):
    Automatic generation of Getter/Setters...
    Automatic generation of Event handlers...
    Conditional breakpoints for debuging (Yes it has that)...
    View ASDoc style documentation during code hinting...
    So could you guys please also add two things?
    1:
    One huge gripe I have is the fact that I can't change the colors in FlexBuilder to match my liking, and SO many terms are colored using the default
    that it almost makes syntax coloring a bit worthless.
    2:
    I'd like to be able to change the list of keywords / reserved words / class names / instristic class to add whichever I feel like.
    I like having addEventListener/removeEventListener/addChild/removeChild/getChildAt/getChildByName different color than everything else because I use them so much. I enjoy being able to tell what's what at a glance. Once they're colored I know there's no typographical errors.
    Ok three things...
    3:
    Code hinting in FlexBuilder leaves a lot to be desired. In FlashDevelop if I have a property named _viewPortTop, i could hit enter for the new line, then start typing 'top', and the available options will come up pruning the possible choices as they are filtered out.
    In flex builder, I HAVE to put 'this'., to even GET the list or press ctrl+space which is cumbersome to do each and every time. If i even make a typo, BAM, whole list is gone.
    I don't like seeing 'this' all over the place, since 'this' is assumed in scope.
    If there's an error, then it's a scope issue, go fix it.
    I don't want to clutter my code just cus the hinting is lackluster.
    Mario Gonzalez
    http://onedayitwillmake.com
    Senior Developer | WDDG.com

    Hi Mario,
    I just read your bug http://bugs.adobe.com/jira/browse/FB-20285 and your workaround: "Press ctrl+space, EVERYTIME you want code hinting without having to tyoe 'this'"
    This is by design, not a bug. I believe what you maybe misinterpreted as a feature is that code hints show up by simply typing. This is not true. We follow the JDT convention for explicit code hinting and implicit code hinting for AS in most cases. See auto activation in the JDT preferences for more information.
    We also have implict code hinting for MXML cases. Here are some examples of both AS and MXML:
    Implicit code hints:
    Start of MXML tag "<"
    Start of attribute inside an MXML tag "<s:Button " the space character triggers code hints
    Member access "myButton." the period character triggers code hints
    Extends keyword "extends " the space character triggers code hints
    Vector type declaration "Vector.<" the < character triggers code hints
    new expression "var foo:Button = new " the space character triggers hints
    Explicit code hints can be triggered with CTRL+Space at the user's discretion.
    For the case your are referring to, there is no implicit trigger character. You do have to hit CTRL+space in this case, that's the expected workflow in Eclipse.  I think you are suggesting that any AS identifier character always trigger code hints. Are there other IDE's that you've used that do this? I'm curious to see an example.
    Jason San Jose
    Quality Engineer, Flash Builder

  • Unable to apply color formatting to document library custom view using javascript

    Hello,
    I have applied color formatting to some values in Document library at "Allitems.aspx" page.
    Created one view where record of library displaying as per sort rule and trying to apply the color formatting on that view, but its not getting apply.
    also tried to insert that list as web part in one page with the same view(created by me) and tried applying color..but not working.
    I used below script for color formatting, included in script editor web part:
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function()
    $Text = $("td.ms-cellstyle.ms-vb2:contains('Very limited risk - acceptable A')");
    $Text.css("background-color", "#7FFF00");
    $Text = $("td.ms-cellstyle.ms-vb2:contains('Measures Required (in 6 months) - M')");
    $Text.css("background-color", "#D2691E");
    $Text = $("td.ms-cellstyle.ms-vb2:contains('Immediate measures required - I')");
    $Text.css("background-color", "#6495ED");
    $Text = $("td.ms-cellstyle.ms-vb2:contains(Stop work until measures are taken - S)");
    $Text.css("background-color", "#DC143C");
    </script>
    Could please suggest a way out.
    Thanking you in advance.
    Regards,
    Jayashri

    Hi Jayashri,
    Follow the steps to debug your JS code, preferable in IE browser
    Press F12 to open your developer tool
    Select Script tab
    Search for your code, set debugger point by clicking on the left extreme position on line numbers
    Click on Start debugging at top, if its not there in your browser just refresh the page, it will hit the debug point.
    Hope it will help you in debugging your code, if you need any further details about debugging this, mail me @
    [email protected]
    Thanks
    Shakir

  • 3.0EA1: syntax colors for reserved words and a shortcut for compile

    Hello,
    only two notes/questions:
    1. If syntax coloring is enabled, do you get your information about the words from V$RESERVED_WORDS? Is it possible for you to enhance these reserverd words (for example from a separate file) to take care of the following datatypes not defined in V$RESERVED_WORDS (especially the pl/sql-types)?:
    any types: anydata, anydataset, anytype
    xml types: uritype
    spatial types: sdo_geometry, sdo_georaster, ...
    media types: ordaudio, ordimage, ...
    pl/sql types: pls_integer, binary_integer, simple_integer, boolean
    2. Is it possible to get a shortcut for compiling? There are so many shortcuts defined, but when you write code you have to take the mouse and klick on the toolbar to compile/compile for debug (or do i miss the entry in the preferences?).
    Thank you
    Markus

    I forwarded this on the the correct developers they should reply here shortly.
    Syme

  • No syntax coloring

    Hi,
    I have recently decided to try out dreamweaver CS5 and almost immediately upon installation all the syntax coloring in gone. In the menu the option is not grayed out but no matter how manner times I click on it it's not turning on. I have checked in preferences and all the colors are assigned corectly for code coloring a check mark just never appear next to it. This is probably the single most important feature for me since I always work in code view. I am working normal html, php, and css files. Nothing dreamweaver wouldn't recognize I even tried starting a new document so it's not my files that are causing it since I can't even get code coloring turned on with the templates that come with dreamweaver.
    Please help me if anyone can.
    Other things to note:
    In the menu under view>visual aids all the options are grayed out (the syntax coloring option is under style render and it just won't turn on now gray).
    The side bar with the line numbers is black (when I first loaded dreamweaver it was a different color I think but I can't remember by the second time loading it code coloring was gone).
    I am using windows XP in classic view.
    Once again please help if you can I would love to get this software I really need a better code editing program but so far all it's done is drive me crazy.
    Thank you,
    Angela

    Thanks everyone who responded. I did manage to figure it out eventually and I thought I would come back and let
    you know in case anyone else comes here again with the same problem and the same answer.
    As it turns out when you customize you windows color scheme it can conflict with code coloring. Why is beyond me but I realized I had gone and changed some parts of my color scheme in between using dreamweaver the first and second time. I reset my color scheme and the syntax coloring came back. I wasn't sure that was it and I really liked that color scheme so I switched back to it to check again and sure enough all the syntax coloring is gone. Why this happens is truly bizarre. I have add in some minor color changes to my current theme and it's ok so far so apparently only one or some of the settings in your theme customization can effect dreamweaver like this. Oh well. Strange bug surely I would think syntax coloring would be seperate from all the windows defaults especially since it's only cosmetic changes.
    Anyway, thanks everyone who answered.

  • How to save jTextPane colored format save to html file?

    ok, I've been able to implement my stuffs using such example:
    http://www.java2s.com/Code/Java/Swing-JFC/JTextPaneStylesExample2.htm
    so now that my jTextPane has colored format. How do I allow user to save this to a file? Not a plain text file but a formated file such as html or doc?

    Use HTMLEditorKit's write() method and pass your document in the method.
    Regards,
    Stas

  • Safari Web Inspector Syntax Colors

    Does anyone out there have the syntax color palate that the Safari Web Inspector uses? I know it's neurotic but I'm wanting to setup my BBEdit code colors the same and zooming in or taking screen shots into Photoshop produces pretty sad results as do Google searches. Again, I know it's OCD but I'm a developer, right? Thanks in advance.

    https://bugs.webkit.org/show_bug.cgi?id=13516
    It's not a high priority bug however, so don't get your hopes up
    Make sure to send your feedback as well.

  • In competitive exams photo in "true color" format.... How to do it in adobe photoshop please replay it.....

    In competitive exams photo in "true color" format.... How to do it in adobe photoshop>>> please replay it.....

    Mayuk, you are not making any sense here.
    True color (24-bit)
    "True Color" redirects here. For images with natural color rendition, see true-color.
    http://en.wikipedia.org/wiki/File:Truecolor.png 24 bits (16,777,216 colors, "truecolor")
    True color supports 24-bit for three RGB colors. It provides a method of representing and storing graphical-image information (especially in computer processing) in an RGB color space such that a very large number of colors, shades, and hues can be displayed in an image, such as in high-quality photographic images or complex graphics. Usually, true color is defined to mean 256 shades of red, green, and blue, for a total of 224 or 16,777,216 color variations. The human eye can discriminate up to ten million colors.[13]
     Color images composed from 3 grayscale images A, B & C assigned to R,G & B in different orders.
    "True color" can also refer to an RGB display-mode that does not need a color look-up table (CLUT).
    For each pixel, generally one byte is used for each channel while the fourth byte (if present) is being used either as an alpha channel, data, or simply ignored. Byte order is usually either RGB or BGR. Some systems exist with more than 8 bits per channel, and these are often also referred to as true color (for example a 48-bit true-color scanner).
    Even with true color, monochromatic images, which are restricted to 256 levels, owing to their single channel, can sometimes still reveal visible banding artifacts.
    True color, like other RGB color models, cannot express colors outside of the gamut of its RGB color space (generally sRGB).
    Macintosh systems refer to 24-bit color as "millions of colors".
    RGBA color space, or 32-bit color, is a variant of true color in which the additional 8-bit is allocated to transparency and indicates how transparent is the element to which the color is assigned, when overlaid on other elements.

  • Color formatting in SSAS

    Using SQL Server 2008 R2:
    I have a star schema with a fact table containing the following:
    ID BIGINT IDENTITY, FK_Dimension1 BIGINT, FK_Dimension2 BIGINT,
    dataValue NUMERIC(20, 8), classification NVARCHAR(20)
    The classification defines the security classification for each dataValue, and can contain either "public" or "confidential".
    I've created a degenerate dimension which contains the classification field, and the dataValue resides in the associated measure table.
    My requirement is to format the dataValue in any tool that is rendering the data as RED if any value in the aggregation of that field contains an associated classification of "confidential". So for example if in an excel pivot table I was displaying
    the aggregation of 3 values and one of them was confidential then the value should display as red text.
    I have the following MDX query in my cube calculations to handle the formatting:
    CALCULATE;
    SCOPE
    [Measures].[dataValue]
    If([MyDegenDimension].[Classification].[Confidential]) Then
    Fore_Color(This) = 255
    End If;
    END SCOPE;
    This works great whenever there are values in the dataValue field other than zero. If I drill down in my pivot table to show a single value that happens to be zero then the color formatting does not apply. The business requirement is that any confidential value
    should be flagged as red, and it's valid that a zero value could be confidential. Note it displays the dataValue as red even if the classification dimension is not used in the pivot table.
    Is there any way I can alter my MDX query so that it works for zero values as well?

    Hi Greg,
    According to your description, you need to set the measure value to red when associated classification measure value is "confidential", right?
    In your scenario, there is a classification value for each record, right? In this case, you can create a measure based on classification, then set the DataValue measure value's color based on the classification measure. Here is the sample query for you reference.
    CREATE MEMBER CURRENTCUBE.[Measure].[X] AS [Measures].[DataValue]
    , FORE_COLOR=IIF([Measures].[Classification]="confidential", RGB(255,0,0), RGB(0,0,0))
    , BACK_COLOR=RGB(255,255,255)
    , FONT_SIZE=10
    , FORMAT_STRING='#,#.000'
    Reference
    http://msdn.microsoft.com/en-IN/library/ms145573.aspx
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Scanning conflict   Acrobat 9 pro   "Color Format Selected Not Supported"

    I have had several conflicts with Adobe Acrobat 9 and my HP C5180 printer/scanner/copier.   I have downloaded new drivers from HP.   When I try to create  a PDF from the scanner,  I get this conflict warning:   "Color Format Selected Not supported".    So, I change the color format selections in both HP and Acrobat and I still get the warning.    I must admit I haven't tried the black and white color format.  But I want to scan simple color images.  No luck.  
    Has anyone else had such a problem?

    This may have nothing to do with your problem, but -- at least with Acrobat 8, there is a 100MB limit to the scanned image. Are you trying to scan something larger than that?

Maybe you are looking for

  • EXCEPTION_ACCESS_VIOLATION on read

    Hi, i have wrapper dll to a 3rd party dll . Mainly ,what i want to do is to connect a remote rs232 device through a modem . the application starts without any problem . I call initport and dialmodem consecutively. When dialmodem is called , the 3rd p

  • Itunes 10.5.2 wont open

    I downloaded itunes 10.5.2 last week and it opened immediately upon downloading it. Since then i cannot get it to open. I have clicked on the desktop shortcut, i have clicked on the icon in start menu and I have tried attaching my ipod to get it to o

  • How to AirPlay from MacBook Air iPhoto?

    Anybody know how to reproduce a video that has been downloded from iPhone into iPhoto (MacBook Air) to Apple TV? I recently downloded all videos from my iPhone into my MacBook Air´s iPhoto to free space. When I played the videos on my iPhone, I was a

  • HT5312 I forgot my security question answers, and i cant buy anything in the app store

    Please help

  • Msg as alert

    Hi! I want to know if a msg can be set as an alert. For example, I might want to remind some selected users to complete a task at a set time everyday, and I want to simply send a msg to remind to do so. I do not want to send any email, just an intern