sl-wxx / coffee-bytes

Automatically exported from code.google.com/p/coffee-bytes
0 stars 0 forks source link

User Defined Region Quirk #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In this class Folding plug-in folds
//[region:end] XMLLoader handlers

//
region, instead of //[region] - //[region:end]
tested with 1.0.5.a version

With many regions works incorrect too

//-- Source file -------------------------------------
package ru.cs.amonitor.xml;

import java.util.*;

/**
* Copyright by ComplexSystems.ru
* @author Semenov Dmitry
*/
public class PicSchemesBean {
private Hashtable shemes = new Hashtable();

//[region] XMLLoader handlers
public void addDps(PicSchemeBean sheme) {
addDiscretePictureSheme(sheme);
}
public void addDiscretePictureSheme
(PicSchemeBean sheme) {
this.shemes.put(sheme.name,
sheme);
}
//[region:end] XMLLoader handlers

//
public PicSchemeBean getSheme(String name)
{
return (PicSchemeBean)
this.shemes.get(name);
}
}

Original issue reported on code.google.com by rjlori...@gmail.com on 20 Oct 2006 at 9:34