Searched refs:flags (Results 1 – 4 of 4) sorted by relevance
26 pub flags: LineState, field43 flags: LineState::empty(), in new()223 if previous_line.flags.contains(LineState::LOCKED) in merge_line()224 || cur_line.flags.contains(LineState::LOCKED) in merge_line()279 pub fn add_line_flags(&self, line_index: usize, flags: LineState) { in add_line_flags()290 line.flags.insert(flags); in add_line_flags()293 if flags.contains(LineState::FLAGED) { in add_line_flags()298 if flags.contains(LineState::LOCKED) { in add_line_flags()303 pub fn remove_line_flags(&self, line_index: usize, flags: LineState) { in remove_line_flags()314 line.flags.remove(flags); in remove_line_flags()[all …]
422 let flags = line.flags; in update_line_prefix() localVariable423 flags.set_style()?; in update_line_prefix()
141 flags: LineState, in jump_to_next_flag()154 let idx = content.iter().position(|x| x.flags.contains(flags)); in jump_to_next_flag()171 flags: LineState, in jump_to_previous_flag()183 let idx = content.iter().rposition(|x| x.flags.contains(flags)); in jump_to_previous_flag()598 if line.flags.contains(LineState::LOCKED) { in enter()666 if line.flags.contains(LineState::LOCKED) { in input_data()
64 if line.flags.contains(LineState::LOCKED) { in backspace()