final Map<String, String> prefs = new TreeMap<String, String>();
IndentationPreferencePage.addKeysAndPrefs(prefs);
SmartTypingPreferencePage.addAutoNLKeysAndPrefs(prefs);
final boolean useTabs = AutoIndentStrategy.getUseTabsFromPreferences();
if (template) {
final OtpErlangObject r1 = indentService.templateIndentLines(prefix, text,
tabw, useTabs, prefs);
return r1;
}
final OtpErlangObject r1 = indentService.indentLines(offset, length, text, tabw,
useTabs, prefs);
return r1;
}