OSDN Git Service

行番号が表示されないバグを修正した
[fooeditengine/FooEditEngine.git] / Common / IFoldingStrategy.cs
1 /*\r
2  * Copyright (C) 2013 FooProject\r
3  * * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by\r
4  * the Free Software Foundation; either version 3 of the License, or (at your option) any later version.\r
5 \r
6  * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of \r
7  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r
8 \r
9 You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\r
10  */\r
11 using System;\r
12 using System.Collections.Generic;\r
13 \r
14 namespace FooEditEngine\r
15 {\r
16     /// <summary>\r
17     /// フォールティング作成の方法を表す\r
18     /// </summary>\r
19     public interface IFoldingStrategy\r
20     {\r
21         /// <summary>\r
22         /// ドキュメントを解析する\r
23         /// </summary>\r
24         /// <param name="doc">ドキュメント</param>\r
25         /// <param name="start">開始インデックス</param>\r
26         /// <param name="end">終了インデックス</param>\r
27         /// <returns>作成したフォールディングを表すイテレーター</returns>\r
28         IEnumerable<FoldingItem> AnalyzeDocument(Document doc,int start,int end);\r
29     }\r
30 }\r