mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-13 16:40:06 +01:00
refactor: alphabets.rs -> textbuf/alphabet.rs
This commit is contained in:
parent
7d4d9a8824
commit
2c3c7a5456
5 changed files with 16 additions and 14 deletions
|
|
@ -656,7 +656,7 @@ enum Event {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::alphabets;
|
||||
use crate::textbuf::alphabet;
|
||||
|
||||
#[test]
|
||||
fn test_render_all_lines() {
|
||||
|
|
@ -909,7 +909,7 @@ Barcelona https://en.wikipedia.org/wiki/Barcelona - ";
|
|||
let use_all_patterns = true;
|
||||
let named_pat = vec![];
|
||||
let custom_patterns = vec![];
|
||||
let alphabet = alphabets::Alphabet("abcd".to_string());
|
||||
let alphabet = alphabet::Alphabet("abcd".to_string());
|
||||
let reverse = false;
|
||||
let mut model = textbuf::Model::new(
|
||||
content,
|
||||
|
|
@ -984,7 +984,7 @@ Barcelona https://en.wikipedia.org/wiki/Barcelona - ";
|
|||
let use_all_patterns = true;
|
||||
let named_pat = vec![];
|
||||
let custom_patterns = vec![];
|
||||
let alphabet = alphabets::Alphabet("abcd".to_string());
|
||||
let alphabet = alphabet::Alphabet("abcd".to_string());
|
||||
let reverse = true;
|
||||
let mut model = textbuf::Model::new(
|
||||
content,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue