Changeset 10256


Ignore:
Timestamp:
10/28/05 13:02:18 (16 years ago)
Author:
piso
Message:

getCorrectIndentation(): if quoted text starts in column 0, leave it alone.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/j/JavaMode.java

    r7610 r10256  
    22 * JavaMode.java
    33 *
    4  * Copyright (C) 1998-2004 Peter Graves
    5  * $Id: JavaMode.java,v 1.16 2004-09-08 00:48:28 piso Exp $
     4 * Copyright (C) 1998-2005 Peter Graves
     5 * $Id: JavaMode.java,v 1.17 2005-10-28 13:02:18 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    269269            }
    270270            // Otherwise fall through...
     271        } else if (textFirstChar == '"') {
     272            // If quoted text starts in column 0, leave it alone.
     273            if (line.charAt(0) == '"')
     274                return 0;
    271275        }
    272276
Note: See TracChangeset for help on using the changeset viewer.