界面库
语法高亮匹配问题修正
This commit is contained in:
@@ -3224,12 +3224,13 @@ type tcustomsynhighlighter = class(TSynHighLighter)
|
||||
if n then
|
||||
begin
|
||||
st := fcbgestate[n];
|
||||
if fswordpairs[n][0]=bttk then
|
||||
if fswordpairs[n][1]=bttk then
|
||||
begin
|
||||
st.GetLeft();
|
||||
end else
|
||||
st.GetRight();
|
||||
end else
|
||||
begin
|
||||
st.GetRight();
|
||||
|
||||
st.GetLeft();
|
||||
end
|
||||
d.FMATe := st.GetSate();
|
||||
end
|
||||
@@ -3405,10 +3406,10 @@ type tcustomsynhighlighter = class(TSynHighLighter)
|
||||
v1 := v[1];
|
||||
if ifstring(v0) and ifstring(v1) and v0 and v1 then
|
||||
begin
|
||||
fswordpairs[v0,0]:= v0;
|
||||
fswordpairs[v0,1]:= v1;
|
||||
fswordpairshash[v0]:=v0;
|
||||
fswordpairshash[v1]:=v0;
|
||||
fswordpairs[v1,0]:= v0;
|
||||
fswordpairs[v1,1]:= v1;
|
||||
fswordpairshash[v0]:=v1;
|
||||
fswordpairshash[v1]:=v1;
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user