ide/src/org/xnap/commons/gui/shortcut/EmacsKeyBindings.java
void add(String text) {
			if (text.length() == 0) {
				return;
			}

			ring.remove(text);
			ring.addFirst(text);
			while (ring.size() > 60) {
				ring.removeLast();
			}
			iter = ring.iterator();
			// skip first entry, the one we just added
			iter.next();
		}
/***
		 * Adds text to the front of the kill ring.
		 * <p>
		 * Deviating from the Emacs implementation we make sure the exact same
		 * text is not somewhere else in the ring.
		 */
Adds text to the front of the kill ring.

Deviating from the Emacs implementation we make sure the exact same
text is not somewhere else in the ring.
Adds text to the front of the kill ring . Deviating from the Emacs implementation we make sure the exact same text is not somewhere else in the ring .
void add(String text) {
			if (text.length() == 0) {
				return;
			}
			ring.remove(text);
			ring.addFirst(text);
			while (ring.size() > 60) {
				ring.removeLast();
			}
			iter = ring.iterator();
			iter.next();
		}
void add ( String text ) { if ( text . length ( ) == 0 ) { return ; } ring . remove ( text ) ; ring . addFirst ( text ) ; while ( ring . size ( ) > 60 ) { ring . removeLast ( ) ; } iter = ring . iterator ( ) ; iter . next ( ) ; }
Adds text to the front of the kill ring.
Adds text to the front of the kill ring .
// skip first entry, the one we just added