mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
eepp: Fixes for UICodeEditor setScroll (again)
ecode: Minor fix in text document range formatting.
This commit is contained in:
@@ -2048,7 +2048,7 @@ LSPClientServer::documentFormatting( const URI& document, const json& options,
|
||||
LSPClientServer::LSPRequestHandle
|
||||
LSPClientServer::documentRangeFormatting( const URI& document, const TextRange& range,
|
||||
const json& options, const JsonReplyHandler& h ) {
|
||||
auto params = textDocumentOptions( document, options, range );
|
||||
auto params = textDocumentOptions( document, options, range.normalized() );
|
||||
return send( newRequest( "textDocument/rangeFormatting", params ), h );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user