~repos /gdx-studio

#libgdx#java#desktop

git clone https://pyrossh.dev/repos/gdx-studio.git

An IDE for creating Games using libgdx and Java supported on all platforms Android, iOS, Desktop



src_libs/org/fife/rsta/ac/java/rjc/lexer/Offset.java



/*
* 03/21/2010
*
* Copyright (C) 2010 Robert Futrell
* robert_futrell at users.sourceforge.net
* http://fifesoft.com/rsyntaxtextarea
*
* This library is distributed under a modified BSD license. See the included
* RSTALanguageSupport.License.txt file for details.
*/
package org.fife.rsta.ac.java.rjc.lexer;
/**
* An offset into Java source. This is an interface so we can wrap
* <code>javax.swing.text.Position</code> instances when parsing code in a
* <code>JTextComponent</code>, so these offsets can get tracked.
*
* @author Robert Futrell
* @version 1.0
*/
public interface Offset {
/**
* Returns the offset into the source.
*
* @return The offset.
*/
public int getOffset();
}