Why doesn't my Block Comment work?

Why doesn't my Block Comment work?

1
NewbieNewbie
1

    Aug 16, 2004#1

    Is it possible to specify same value for "Block Comment On" and "Block Comment Off"?
    After I specify: Block Comment On = """ Block Comment Off = """.

    I write:
    """
    fasdfasfds;aldfkjs [This part can not change color]
    """

    why?

    236
    MasterMaster
    236

      Aug 23, 2004#2

      This is for Python, right?

      I'm stuck with the same problem. I guess what UE does is:
      It sees the first " and thinks, 'aha, string coming!", then it sees the second " and thinks, 'end of first string". Then it sees the third " and thinks 'OK, another string coming'. It now will color the rest of the current line gray (or whatever color has been defined for strings). As soon as the next line starts, it doesn't know that it still belongs to the string...

      It seems to me that UE isn't currently capable of handling """ sequences. I tried Block Comment On '"""' and even """"" or \"\"\" but none of those worked.

      Any other ideas?

      Tim

      6
      NewbieNewbie
      6

        Aug 23, 2004#3

        You can make it work by specifying: Block Comment On = space""" and Block Comment Off = """

        Then this will work:
        space"""
        fasdfasfds;aldfkjs [This part does change color]
        """

        Please notice the space before the three Block Comment On quotes is a space character. It seems like it doesn't work with the same value for On/Off.

        /ve

          Aug 23, 2004#4

          The only problem is that it won't work on the beginning of a line! :-(

          If anyone has got a solution for this, please let me know.

          /ve