@@ -671,8 +671,7 @@ void linting_lsp_server_handler::write_configuration_errors_notification(
671
671
}
672
672
673
673
void linting_lsp_server_handler::apply_document_changes (
674
- quick_lint_js::document<lsp_locator>& doc,
675
- ::simdjson::ondemand::array& changes) {
674
+ document<lsp_locator>& doc, ::simdjson::ondemand::array& changes) {
676
675
for (::simdjson::simdjson_result<::simdjson::ondemand::value> change :
677
676
changes) {
678
677
::simdjson::ondemand::object change_object;
@@ -685,8 +684,7 @@ void linting_lsp_server_handler::apply_document_changes(
685
684
}
686
685
687
686
void linting_lsp_server_handler::apply_document_change (
688
- quick_lint_js::document<lsp_locator>& doc,
689
- ::simdjson::ondemand::object& raw_change) {
687
+ document<lsp_locator>& doc, ::simdjson::ondemand::object& raw_change) {
690
688
lsp_document_change change;
691
689
if (!get_string8 (raw_change, " text" , &change.text )) {
692
690
// Ignore invalid change.
@@ -717,8 +715,7 @@ void linting_lsp_server_handler::apply_document_change(
717
715
}
718
716
719
717
void linting_lsp_server_handler::apply_document_change (
720
- quick_lint_js::document<lsp_locator>& doc,
721
- const lsp_document_change& change) {
718
+ document<lsp_locator>& doc, const lsp_document_change& change) {
722
719
if (change.range .has_value ()) {
723
720
doc.replace_text (*change.range , change.text );
724
721
} else {
0 commit comments