Ignore:
Timestamp:
Sep 6, 2008, 11:32:10 PM (16 years ago)
Author:
dai
Message:

BasicSource::GetLineFromIndex関数を導入。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Source.h

    r735 r739  
    211211    void _ResetLength()
    212212    {
    213         length = strlen( buffer );
    214     }
     213        length = static_cast<int>(strlen( buffer ));
     214    }
     215
     216    // 指定したインデックスが何行目かを取得
     217    bool GetLineFromIndex( int index, int &result ) const;
    215218
    216219    const IncludedFilesRelation &GetIncludedFilesRelation() const
Note: See TracChangeset for help on using the changeset viewer.