Set the hint to HINTRIGHT when setting selection programatically. bug=334256 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194699 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -4415,6 +4415,8 @@ void nsTypedSelection::setAnchorFocusRange(PRInt32 indx)
|
||||
}
|
||||
else{
|
||||
mAnchorFocusRange = mRangeArray[indx];
|
||||
// Make sure the caret appears on the next line, if at a newline
|
||||
SetInterlinePosition(PR_TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user