pub fn validate_text_formatting( formatting: &Value, message: &str, ) -> Result<(), String>
Validate client-provided text formatting ranges.