chiark / gitweb /
Move some ColouredString methods to the right file.
authorSimon Tatham <anakin@pobox.com>
Fri, 26 Jan 2024 07:26:33 +0000 (07:26 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 26 Jan 2024 07:26:33 +0000 (07:26 +0000)
commit2248b1622db9730b998a3e19b61c6503890d9e33
tree3421afa4b22b1d5cbcab645147ef4c4f77d52fea
parent57bea7704d067d9ac8ebb2a7e02a166937a66942
Move some ColouredString methods to the right file.

Just found these lying around in text.rs, apparently because they were
useful for Paragraph. They should go with the rest of the
ColouredString methods! In particular, is_space() ought to go in the
trait shared between ColouredString{,Slice}, so that there only needs
to be one of it.
src/coloured_string.rs
src/text.rs