/// <returns>真ならマーカーがある</returns>\r
public bool IsMarker(int index, HilightType type)\r
{\r
- foreach (Marker m in this.Document.GetMarkers(index))\r
+ foreach(int id in this.Document.Markers.IDs)\r
{\r
- if (m.hilight == type)\r
- return true;\r
+ foreach (Marker m in this.Document.GetMarkers(index, id))\r
+ {\r
+ if (m.hilight == type)\r
+ return true;\r
+ }\r
}\r
return false;\r
}\r