2
NewbieNewbie
2

    Nov 02, 2004#16

    Mofi wrote:Thanks mdimdi to add the second indent string definition here.

    This could be helpful at some languages, but it is not helpful on my examples. Both are not reindented correct, when /Indent Strings SOL = is used instead of /Indent Strings =.
    Hi Mofi, you should change your keywords for /Indent Strings SOL to work correctly. This command matches the START of the code line, while /Indent Strings matches the END of the line.
    I think that SOL means Start Of Line. So your should state keywords like "if", "do", "while" ....

    Regards,
    MDI

    1
    NewbieNewbie
    1

      Feb 22, 2005#17

      Hi all.
      I wanna know if it's possible to desindent a string because when i write my program in pascal at the end of the program, all my text is on the right. I wish that the indent "reset" when in write "PROCEDURE" in the begining of a line. Is it possible and how can I do that. Thx a lot.
      And sorry for my bad english :(
      Here is what ive wrote in the wordfile.

      Code: Select all

      /Indent Strings = "{" "BEGIN" "CASE" "DO" "ELSE" "THEN"
      /Unindent Strings = "}" "END;" "END" "PROCEDURE"
      EDIT: i think i know why.. Simply because it indent when there is a ELSE a THEN, CASE and DO.. But it desendent only for the "send" and PROCEDURE..

      Is there a way to unindent after these things?

      Read more posts (-13 remaining)