Skip to content

Commit

Permalink
Fix: 対括弧強調のノート線と縦線の描画順が反対(r3948-)
Browse files Browse the repository at this point in the history
[patchunicode:#972]
通常描画ではノート線、縦線の順に描画するのに対し
対括弧強調では、縦線、ノート線の順になっていたのを、ノート線、縦線に統一します。


git-svn-id: https://svn.code.sf.net/p/sakura-editor/code/sakura/trunk2@3977 f7ce1907-e4c7-47ca-9f76-12c87ed2c91c
  • Loading branch information
moca_skr committed Feb 13, 2015
1 parent 6974d56 commit 47ba7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sakura_core/view/CEditView_Paint_Bracket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ void CEditView::DrawBracketPair( bool bDraw )
DispPos sPos(nWidth, nHeight);
sPos.InitDrawPos(CMyPoint(nLeft, nTop));
GetTextDrawer().DispText(gr, &sPos, &pLine[OutputX], 1, bTrans);
GetTextDrawer().DispNoteLine(gr, nTop, nTop + nHeight, nLeft, nLeft + (Int)charsWidth * nWidth);
// 2006.04.30 Moca 対括弧の縦線対応
GetTextDrawer().DispVerticalLines(gr, nTop, nTop + nHeight, ptColLine.x, ptColLine.x + charsWidth); //※括弧が全角幅である場合を考慮
GetTextDrawer().DispNoteLine(gr, nTop, nTop + nHeight, nLeft, nLeft + (Int)charsWidth * nWidth);
cTextType.RewindGraphicsState(gr);
}

Expand Down

0 comments on commit 47ba7d1

Please sign in to comment.