-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
好讀模式在有自動換行的文章顯示錯誤 #39
Labels
Comments
isTextWrappedRow: function(row) {
// determine whether it is wrapped by looking for the ending "\"
var rowText = this.getRowText(row, 0, this.cols);
var slashIndex = rowText.lastIndexOf('\\');
if (slashIndex > 0 ) {
var col = u2b(rowText.substr(0, slashIndex)).length;
if (col != 77 && col != 78) return false;
// check the color
var ch = this.lines[row][col];
if (ch.fg == 7 && ch.bg === 0 && ch.bright)
return true;
}
return false;
}, 在自動換行的情境下,該行似乎不會出現 我不是很清楚現行機制下要如何辨識該行是「自動換行」的行?目前正在改版的扣裡面,我可以讓他至少顯示所有內容(雖然無法辨認哪些行數是重複的),可能這樣就可以把 |
This comment was marked as outdated.
This comment was marked as outdated.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如圖,網址在: https://www.ptt.cc/bbs/joke/M.1398913173.A.DDE.html
進板搜尋:「臉書強迫」
www.ptt.cc
term.ptt.cc
The text was updated successfully, but these errors were encountered: