mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
ecode: Added sol format support.
Added new option for the ThreadPool.
This commit is contained in:
@@ -135,11 +135,9 @@ void FormatterModule::runFormatter( UICodeEditor* editor, const Formatter& forma
|
||||
if ( 0 == result ) {
|
||||
std::string buffer( 1024, '\0' );
|
||||
std::string data;
|
||||
unsigned index = 0;
|
||||
unsigned bytesRead = 0;
|
||||
do {
|
||||
bytesRead = subprocess_read_stdout( &subprocess, &buffer[0], buffer.size() );
|
||||
index += bytesRead;
|
||||
data += buffer.substr( 0, bytesRead );
|
||||
} while ( bytesRead != 0 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user