@@ -190,10 +190,12 @@ EdytorNc::EdytorNc(Medium* medium)
190190 connect (m_documentManager, SIGNAL (selectionChanged ()), this , SLOT (updateMenus ()));
191191 connect (m_documentManager, SIGNAL (briefChanged (Document*)), this , SLOT (updateOpenFileList ()));
192192 connect (m_documentManager, SIGNAL (documentListChanged ()), this , SLOT (updateOpenFileList ()));
193- connect (m_documentManager, SIGNAL (closeRequested (Document*)), this , SLOT (maybeSave (Document*)), Qt::ConnectionType::DirectConnection);
193+ connect (m_documentManager, SIGNAL (closeRequested (Document*)), this , SLOT (maybeSave (Document*)),
194+ Qt::ConnectionType::DirectConnection);
194195 connect (m_documentManager, SIGNAL (redoAvailable (bool )), redoAct, SLOT (setEnabled (bool )));
195196 connect (m_documentManager, SIGNAL (undoAvailable (bool )), undoAct, SLOT (setEnabled (bool )));
196- connect (m_documentManager, SIGNAL (customContextMenuRequested (Document*, const QPoint&)), this , SLOT (customContextMenuRequest (Document*, const QPoint&)));
197+ connect (m_documentManager, SIGNAL (customContextMenuRequested (Document*, const QPoint&)), this ,
198+ SLOT (customContextMenuRequest (Document*, const QPoint&)));
197199 connect (m_documentManager, SIGNAL (fileWatchRequest (const QString&, bool )), this , SLOT (watchFile (const QString&, bool )));
198200
199201 m_sessionManager = new SessionManager (m_documentManager, this );
@@ -889,7 +891,8 @@ void EdytorNc::config()
889891 if (setUpDialog->exec () == QDialog::Accepted) {
890892 config = setUpDialog->getSettings ();
891893 QSettings* cfg = Medium::instance ().settings ();
892- m_documentManager->setDocumentWidgetProperties (DocumentWidgetProperties::Ptr (new GCoderWidgetProperties (config.editorProperties )));
894+ m_documentManager->setDocumentWidgetProperties (DocumentWidgetProperties::Ptr (new GCoderWidgetProperties (
895+ config.editorProperties )));
893896 config.editorProperties .save (cfg);
894897 emit intCapsLockChanged (config.editorProperties .intCapsLock );
895898 m_documentManager->setDocumentStyle (DocumentStyle::Ptr (new GCoderStyle (config.codeStyle )));
@@ -2233,7 +2236,8 @@ void EdytorNc::createFindToolBar()
22332236 CapsLockEventFilter* findEditEventFilter = new CapsLockEventFilter (findEdit);
22342237 connect (this , SIGNAL (intCapsLockChanged (bool )), findEditEventFilter, SLOT (setCapsLockEnable (bool )));
22352238 bool intCapsLock = false ;
2236- GCoderWidgetProperties* prop = dynamic_cast <GCoderWidgetProperties*>(m_documentManager->documentWidgetProperties (GCoder::DOCUMENT_TYPE).get ());
2239+ GCoderWidgetProperties* prop = dynamic_cast <GCoderWidgetProperties*>(m_documentManager->documentWidgetProperties (
2240+ GCoder::DOCUMENT_TYPE).get ());
22372241
22382242 if (prop) {
22392243 intCapsLock = prop->intCapsLock ;
0 commit comments