src/main/java/org/sikuli/slides/api/interpreters/DefaultInterpreter.java
private Action interpretAsBookmark(Slide slide) {
		SlideElement keywordElement = slide.select().isKeyword(KeywordDictionary.BOOKMARK).first();
		if (keywordElement == null)
			return null;		

		String text = keywordElement.getText(); 
		if (text.isEmpty()){
			logger.error("No name is specified for the bookmark keyword");
			return null;
		}

		slide.remove(keywordElement);
		BookmarkAction action = new BookmarkAction();
		action.setName(text);				
		return action;
	}
private Action interpretAsBookmark(Slide slide) {
		SlideElement keywordElement = slide.select().isKeyword(KeywordDictionary.BOOKMARK).first();
		if (keywordElement == null)
			return null;		

		String text = keywordElement.getText(); 
		if (text.isEmpty()){
			logger.error("No name is specified for the bookmark keyword");
			return null;
		}

		slide.remove(keywordElement);
		BookmarkAction action = new BookmarkAction();
		action.setName(text);				
		return action;
	}
private Action interpretAsBookmark ( Slide slide ) { SlideElement keywordElement = slide . select ( ) . isKeyword ( KeywordDictionary . BOOKMARK ) . first ( ) ; if ( keywordElement == null ) return null ; String text = keywordElement . getText ( ) ; if ( text . isEmpty ( ) ) { logger . error ( "No name is specified for the bookmark keyword" ) ; return null ; } slide . remove ( keywordElement ) ; BookmarkAction action = new BookmarkAction ( ) ; action . setName ( text ) ; return action ; }
}
}