mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-16 12:04:35 -04:00
refactor: Move all processing logic to CodeHandler::processText() (#107)
This will become useful once more processing modes are available
This commit is contained in:
committed by
GitHub
parent
5536de146c
commit
521261e0a3
@ -22,8 +22,12 @@
|
||||
|
||||
namespace QodeAssist {
|
||||
|
||||
QString CodeHandler::processText(QString text)
|
||||
QString CodeHandler::processText(QString text, bool smartProcess)
|
||||
{
|
||||
if (!smartProcess) {
|
||||
return text;
|
||||
}
|
||||
|
||||
QString result;
|
||||
QStringList lines = text.split('\n');
|
||||
bool inCodeBlock = false;
|
||||
|
Reference in New Issue
Block a user