org.eclipse.mylyn.internal.wikitext.twiki.core.validation
Class ListWhitespaceValidationRule
java.lang.Object
org.eclipse.mylyn.wikitext.core.validation.ValidationRule
org.eclipse.mylyn.internal.wikitext.twiki.core.validation.ListWhitespaceValidationRule
public class ListWhitespaceValidationRule
- extends ValidationRule
TWiki lists markup must have spaces in multiples of 3 preceding the markup (*,i,I,1,a,A)
- Author:
- David Green
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListWhitespaceValidationRule
public ListWhitespaceValidationRule()
findProblem
public ValidationProblem findProblem(String markup,
int offset,
int length)
- Description copied from class:
ValidationRule
- Starting at the given offset find the next validation problem.
- Specified by:
findProblem
in class ValidationRule
- Parameters:
markup
- the markup content in which a validation problem should be foundoffset
- the offset at which to start looking for problemslength
- the length at which to stop looking for problems
- Returns:
- the validation problem if found, or null if no validation problem was detected
Copyright © 2011 FuseSource, Corp.. All Rights Reserved.