private OccurrenceReport getTotalOccurencesOnPage(String editorText, 
			boolean isCaseSensitive, String searchingText, int currentSearchingPosition) {
		int lastSearchingPosition = -1;
		int cnt = 0;
		OccurrenceReport report = new OccurrenceReport();
		
		if (!isCaseSensitive) {
			editorText = editorText.toLowerCase();
			searchingText = searchingText.toLowerCase();
		}
		
		while ((lastSearchingPosition = editorText.indexOf(searchingText, 
				lastSearchingPosition + searchingText.length())) != -1 && cnt < 9999) {
			cnt++;
			
			if (lastSearchingPosition == currentSearchingPosition) {
				report.current = cnt;
			}
		}
		
		report.total = cnt;

		return report;
	}