Changeset 8597


Ignore:
Timestamp:
02/17/05 15:47:46 (16 years ago)
Author:
piso
Message:

findMatchInternal(): minor cleanup.

File:
1 edited

Legend:

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

    r8582 r8597  
    33 *
    44 * Copyright (C) 1998-2005 Peter Graves
    5  * $Id: Editor.java,v 1.134 2005-02-16 12:30:09 piso Exp $
     5 * $Id: Editor.java,v 1.135 2005-02-17 15:47:46 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    13301330        if (index < 0)
    13311331            return null;
    1332         final Mode mode = getMode();
    1333         if (mode.isInComment(buffer, start))
    1334             return null;
    1335         boolean inQuote = mode.isInQuote(buffer, start);
    1336         if (inQuote)
     1332        final Mode mode = buffer.getMode();
     1333        if (mode.isInComment(buffer, start) || mode.isInQuote(buffer, start))
    13371334            return null;
    13381335        final String s2 = new String("})]{([");
Note: See TracChangeset for help on using the changeset viewer.