We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff84b9a commit ae41c83Copy full SHA for ae41c83
opengrok-indexer/src/main/java/org/opengrok/indexer/web/PageConfig.java
@@ -1800,7 +1800,7 @@ public boolean evaluateMatchOffset() {
1800
LineBreaker breaker = new LineBreaker();
1801
StreamSource streamSource = StreamSource.fromFile(resourceFile);
1802
try {
1803
- breaker.reset(streamSource);
+ breaker.reset(streamSource, in -> ExpandTabsReader.wrap(in, getProject()));
1804
int matchLine = breaker.findLineIndex(matchOffset);
1805
if (matchLine >= 0) {
1806
// Convert to 1-based offset to accord with OpenGrok line number.
0 commit comments