mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -295,9 +295,7 @@ impl<T: ClipboardProvider> TextInput<T> {
|
|||
fn assert_ok_selection(&self) {
|
||||
debug!(
|
||||
"edit_point: {:?}, selection_origin: {:?}, direction: {:?}",
|
||||
self.edit_point,
|
||||
self.selection_origin,
|
||||
self.selection_direction
|
||||
self.edit_point, self.selection_origin, self.selection_direction
|
||||
);
|
||||
if let Some(begin) = self.selection_origin {
|
||||
debug_assert!(begin.line < self.lines.len());
|
||||
|
@ -532,8 +530,7 @@ impl<T: ClipboardProvider> TextInput<T> {
|
|||
fn update_selection_direction(&mut self) {
|
||||
debug!(
|
||||
"edit_point: {:?}, selection_origin: {:?}",
|
||||
self.edit_point,
|
||||
self.selection_origin
|
||||
self.edit_point, self.selection_origin
|
||||
);
|
||||
self.selection_direction = if Some(self.edit_point) < self.selection_origin {
|
||||
SelectionDirection::Backward
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue