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:
uriber%gmail.com
2006-04-19 20:21:25 +00:00
parent 4f728dffc0
commit 59333a3f4e

View File

@@ -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);
}
}