Changeset 2226

Show
Ignore:
Timestamp:
08/21/08 18:38:58 (3 months ago)
Author:
pasnox
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • v2/branches/dev/monkey/src/pMonkeyStudio.cpp

    r2223 r2226  
    11471147/*! 
    11481148        \details Set tabs text are elided 
    1149         \param elided True for elided text, else false 
     1149        \param elided true for elided text, else false 
    11501150*/ 
    11511151void pMonkeyStudio::setTabsElided( bool have ) 
    11521152{ MonkeyCore::settings()->setValue( settingsPath() +"/TabsElided", have ); } 
    1153 //f 
     1153 
     1154/*! 
     1155        \details Return true if tabs text is elided, else false 
     1156*/ 
    11541157const bool pMonkeyStudio::tabsElided() 
    11551158{ return MonkeyCore::settings()->value( settingsPath() +"/TabsElided", false ).toBool(); } 
    11561159 
    1157 void pMonkeyStudio::setTabsTextColor( const QColor& c ) 
    1158 { MonkeyCore::settings()->setValue( settingsPath() +"/TabsTextColor", c ); } 
    1159  
     1160/*! 
     1161        \details Set tabs text color 
     1162        \param color The tabs text color 
     1163*/ 
     1164void pMonkeyStudio::setTabsTextColor( const QColor& color ) 
     1165{ MonkeyCore::settings()->setValue( settingsPath() +"/TabsTextColor", color ); } 
     1166 
     1167/*! 
     1168        \details Return the tabs text color 
     1169*/ 
    11601170const QColor pMonkeyStudio::tabsTextColor() 
    11611171{ return MonkeyCore::settings()->value( settingsPath() +"/TabsTextColor", QColor( Qt::black ) ).value<QColor>(); } 
    11621172 
    1163 void pMonkeyStudio::setCurrentTabTextColor( const QColor& c ) 
    1164 { MonkeyCore::settings()->setValue( settingsPath() +"/CurrentTabTextColor", c ); } 
    1165  
     1173/*! 
     1174        \details Set the current tab text color 
     1175        \param color The current tab text color 
     1176*/ 
     1177void pMonkeyStudio::setCurrentTabTextColor( const QColor& color ) 
     1178{ MonkeyCore::settings()->setValue( settingsPath() +"/CurrentTabTextColor", color ); } 
     1179 
     1180/*! 
     1181        \details Return the current tab text color 
     1182*/ 
    11661183const QColor pMonkeyStudio::currentTabTextColor() 
    11671184{ return MonkeyCore::settings()->value( settingsPath() +"/CurrentTabTextColor", QColor( Qt::blue ) ).value<QColor>(); } 
     
    11751192*/ 
    11761193 
    1177 void pMonkeyStudio::setDocMode( pExtendedWorkspace::DocumentMode m ) 
    1178 { MonkeyCore::settings()->setValue( settingsPath() +"/DocMode", m ); } 
    1179  
     1194/*! 
     1195        \details Set the workspace doc mode 
     1196        \param mode The mode to apply 
     1197*/ 
     1198void pMonkeyStudio::setDocMode( pExtendedWorkspace::DocumentMode mode ) 
     1199{ MonkeyCore::settings()->setValue( settingsPath() +"/DocMode", mode ); } 
     1200 
     1201/*! 
     1202        \details Return the mod used by the workspace 
     1203*/ 
    11801204const pExtendedWorkspace::DocumentMode pMonkeyStudio::docMode() 
    11811205{ return (pExtendedWorkspace::DocumentMode)MonkeyCore::settings()->value( settingsPath() +"/DocMode", pExtendedWorkspace::dmSDI ).toInt(); } 
    11821206 
    1183 void pMonkeyStudio::setExternalChanges( pMonkeyStudio::ExternalChangesMode e ) 
    1184 { MonkeyCore::settings()->setValue( settingsPath() +"/ExternalChanges", e ); } 
    1185  
     1207/*! 
     1208        \details Set the external changes react mode 
     1209        \param mode The mode to apply 
     1210*/ 
     1211void pMonkeyStudio::setExternalChanges( pMonkeyStudio::ExternalChangesMode mode ) 
     1212{ MonkeyCore::settings()->setValue( settingsPath() +"/ExternalChanges", mode ); } 
     1213 
     1214/*! 
     1215        \details Return the external changes react mode 
     1216*/ 
    11861217const pMonkeyStudio::ExternalChangesMode pMonkeyStudio::externalchanges() 
    11871218{ return (pMonkeyStudio::ExternalChangesMode)MonkeyCore::settings()->value( settingsPath() +"/ExternalChanges", pMonkeyStudio::ecmAlert ).toInt(); } 
    11881219 
    1189 void pMonkeyStudio::setSaveSessionOnClose( bool b ) 
    1190 { MonkeyCore::settings()->setValue( settingsPath() +"/SaveSessionOnClose", b ); } 
    1191  
     1220/*! 
     1221        \details Set if session must be save on close 
     1222        \param save If true, session is saved, else not 
     1223*/ 
     1224void pMonkeyStudio::setSaveSessionOnClose( bool save ) 
     1225{ MonkeyCore::settings()->setValue( settingsPath() +"/SaveSessionOnClose", save ); } 
     1226 
     1227/*! 
     1228        \details Return true if session is saved at close, else false 
     1229*/ 
    11921230const bool pMonkeyStudio::saveSessionOnClose() 
    11931231{ return MonkeyCore::settings()->value( settingsPath() +"/SaveSessionOnClose", true ).toBool(); } 
    11941232 
    1195 void pMonkeyStudio::setRestoreSessionOnStartup( bool b ) 
    1196 { MonkeyCore::settings()->setValue( settingsPath() +"/RestoreSessionOnStartup", b ); } 
    1197  
     1233/*! 
     1234        \details Set if session is restored on startup 
     1235        \param restore If true, session will be restored on startup, else not 
     1236*/ 
     1237void pMonkeyStudio::setRestoreSessionOnStartup( bool restore ) 
     1238{ MonkeyCore::settings()->setValue( settingsPath() +"/RestoreSessionOnStartup", restore ); } 
     1239 
     1240/*! 
     1241        \details Return true if session will be restored on startup, else false 
     1242*/ 
    11981243const bool pMonkeyStudio::restoreSessionOnStartup() 
    11991244{ return MonkeyCore::settings()->value( settingsPath() +"/RestoreSessionOnStartup", true ).toBool(); } 
    12001245 
    1201 void pMonkeyStudio::setAutoSyntaxCheck( bool b ) 
    1202 { MonkeyCore::settings()->setValue( settingsPath() +"/AutoSyntaxCheck", b ); } 
    1203  
     1246/*! 
     1247        \details Set if auto syntax check is performed 
     1248        \param activate If true, automatic syntax check will be performed, else not 
     1249*/ 
     1250void pMonkeyStudio::setAutoSyntaxCheck( bool activate ) 
     1251{ MonkeyCore::settings()->setValue( settingsPath() +"/AutoSyntaxCheck", activate ); } 
     1252 
     1253/*! 
     1254        \details Return true if auto syntax check is performed, else false 
     1255*/ 
    12041256const bool pMonkeyStudio::autoSyntaxCheck() 
    12051257{ return MonkeyCore::settings()->value( settingsPath() +"/AutoSyntaxCheck", false ).toBool(); } 
    12061258 
    1207 void pMonkeyStudio::setConvertTabsUponOpen( bool b ) 
    1208 { MonkeyCore::settings()->setValue( settingsPath() +"/ConvertTabsUponOpen", b ); } 
    1209  
     1259/*! 
     1260        \details Set is tabs are converted upon open 
     1261        \param convert If true tabs will be converted, else not 
     1262*/ 
     1263void pMonkeyStudio::setConvertTabsUponOpen( bool convert ) 
     1264{ MonkeyCore::settings()->setValue( settingsPath() +"/ConvertTabsUponOpen", convert ); } 
     1265 
     1266/*! 
     1267        \details Return true if tabs are converted upon open, else false 
     1268*/ 
    12101269const bool pMonkeyStudio::convertTabsUponOpen() 
    12111270{ return MonkeyCore::settings()->value( settingsPath() +"/ConvertTabsUponOpen", false ).toBool(); } 
    12121271 
    1213 void pMonkeyStudio::setCreateBackupUponOpen( bool b ) 
    1214 { MonkeyCore::settings()->setValue( settingsPath() +"/CreateBackupUponOpen", b ); } 
    1215  
     1272/*! 
     1273        \details Set if file are backup upon open 
     1274        \param backup If true, file is backup upon open 
     1275*/ 
     1276void pMonkeyStudio::setCreateBackupUponOpen( bool backup ) 
     1277{ MonkeyCore::settings()->setValue( settingsPath() +"/CreateBackupUponOpen", backup ); } 
     1278 
     1279/*! 
     1280        \details Return true if file is backup upon open, else false 
     1281*/ 
    12161282const bool pMonkeyStudio::createBackupUponOpen() 
    12171283{ return MonkeyCore::settings()->value( settingsPath() +"/CreateBackupUponOpen", false ).toBool(); } 
    12181284 
    1219 void pMonkeyStudio::setAutoEolConversion( bool b ) 
    1220 { MonkeyCore::settings()->setValue( settingsPath() +"/AutoEolConversion", b ); } 
    1221  
     1285/*! 
     1286        \details Set if eol are convert upon open 
     1287        \param convert If true, eol are convert, else not 
     1288*/ 
     1289void pMonkeyStudio::setAutoEolConversion( bool convert ) 
     1290{ MonkeyCore::settings()->setValue( settingsPath() +"/AutoEolConversion", convert ); } 
     1291 
     1292/*! 
     1293        \details Return true if eol are convert, else false 
     1294*/ 
    12221295const bool pMonkeyStudio::autoEolConversion() 
    12231296{ return MonkeyCore::settings()->value( settingsPath() +"/AutoEolConversion", true ).toBool(); } 
    12241297 
    1225 void pMonkeyStudio::setDefaultEncoding( const QString& s ) 
    1226 { MonkeyCore::settings()->setValue( settingsPath() +"/DefaultEncoding", s ); } 
    1227  
     1298/*! 
     1299        \details Set the default used encoding for opening/saving files 
     1300        \param codec The codec to use 
     1301*/ 
     1302void pMonkeyStudio::setDefaultEncoding( const QString& codec ) 
     1303{ MonkeyCore::settings()->setValue( settingsPath() +"/DefaultEncoding", codec ); } 
     1304 
     1305/*! 
     1306        \details Return the default used encoding for opening/saving files. Default UTF-8 
     1307*/ 
    12281308const QString pMonkeyStudio::defaultEncoding() 
    12291309{ return MonkeyCore::settings()->value( settingsPath() +"/DefaultEncoding", "UTF-8" ).toString(); } 
    12301310 
    1231 void pMonkeyStudio::setSelectionBackgroundColor( const QColor& c ) 
    1232 { MonkeyCore::settings()->setValue( settingsPath() +"/SelectionBackgroundColor", c ); } 
    1233  
     1311/*! 
     1312        \details Set the selection background color 
     1313        \param color The color to apply 
     1314*/ 
     1315void pMonkeyStudio::setSelectionBackgroundColor( const QColor& color ) 
     1316{ MonkeyCore::settings()->setValue( settingsPath() +"/SelectionBackgroundColor", color ); } 
     1317 
     1318/*! 
     1319        \details Return the selection background color 
     1320*/ 
    12341321const QColor pMonkeyStudio::selectionBackgroundColor() 
    12351322{ return MonkeyCore::settings()->value( settingsPath() +"/SelectionBackgroundColor", QColor( "#bdff9b" ) ).value<QColor>(); } 
    12361323 
    1237 void pMonkeyStudio::setSelectionForegroundColor( const QColor& c ) 
    1238 { MonkeyCore::settings()->setValue( settingsPath() +"/SelectionForegroundColor", c ); } 
    1239  
     1324/*! 
     1325        \details Set the selection foreground color 
     1326        \param color The color to apply 
     1327*/ 
     1328void pMonkeyStudio::setSelectionForegroundColor( const QColor& color ) 
     1329{ MonkeyCore::settings()->setValue( settingsPath() +"/SelectionForegroundColor", color ); } 
     1330 
     1331/*! 
     1332        \details Return the selection foreground color 
     1333*/ 
    12401334const QColor pMonkeyStudio::selectionForegroundColor() 
    12411335{ return MonkeyCore::settings()->value( settingsPath() +"/SelectionForegroundColor", QColor( "#000000" ) ).value<QColor>(); } 
    12421336 
    1243 void pMonkeyStudio::setDefaultDocumentColours( bool b ) 
    1244 { MonkeyCore::settings()->setValue( settingsPath() +"/DefaultDocumentColours", b ); } 
    1245  
     1337/*! 
     1338        \details Set if editors got default colors or no 
     1339        \param useDefault If true, use default pen and paper for editors, else use custom one 
     1340*/ 
     1341void pMonkeyStudio::setDefaultDocumentColours( bool useDefault ) 
     1342{ MonkeyCore::settings()->setValue( settingsPath() +"/DefaultDocumentColours", useDefault ); } 
     1343 
     1344/*! 
     1345        \details Return if editors use default colros or custom one 
     1346*/ 
    12461347const bool pMonkeyStudio::defaultDocumentColours() 
    12471348{ return MonkeyCore::settings()->value( settingsPath() +"/DefaultDocumentColours", false ).toBool(); } 
    12481349 
    1249 void pMonkeyStudio::setDefaultDocumentPen( const QColor& c ) 
    1250 { MonkeyCore::settings()->setValue( settingsPath() +"/DefaultDocumentPen", c ); } 
    1251  
     1350/*! 
     1351        \details Set custom editor pen color 
     1352        \param color The color to apply 
     1353*/ 
     1354void pMonkeyStudio::setDefaultDocumentPen( const QColor& color ) 
     1355{ MonkeyCore::settings()->setValue( settingsPath() +"/DefaultDocumentPen", color ); } 
     1356 
     1357/*! 
     1358        \details Return the custom editor pen color 
     1359*/ 
    12521360const QColor pMonkeyStudio::defaultDocumentPen() 
    12531361{ return MonkeyCore::settings()->value( settingsPath() +"/DefaultDocumentPen", QColor( Qt::black ) ).value<QColor>(); } 
    12541362 
    1255 void pMonkeyStudio::setDefaultDocumentPaper( const QColor& c ) 
    1256 { MonkeyCore::settings()->setValue( settingsPath() +"/DefaultDocumentPaper", c ); } 
    1257  
     1363/*! 
     1364        \details Set the custom editor paper color 
     1365        \param color The color to apply 
     1366*/ 
     1367void pMonkeyStudio::setDefaultDocumentPaper( const QColor& color ) 
     1368{ MonkeyCore::settings()->setValue( settingsPath() +"/DefaultDocumentPaper", color ); } 
     1369 
     1370/*! 
     1371        \details Return the custom editor paper color 
     1372*/ 
    12581373const QColor pMonkeyStudio::defaultDocumentPaper() 
    12591374{ return MonkeyCore::settings()->value( settingsPath() +"/DefaultDocumentPaper", QColor( Qt::white ) ).value<QColor>(); } 
    12601375 
    1261 void pMonkeyStudio::setAutoCompletionCaseSensitivity( bool b ) 
    1262 { MonkeyCore::settings()->setValue( settingsPath() +"/AutoCompletionCaseSensitivity", b ); } 
    1263  
     1376/*! 
     1377        \details Set auto completion is case sensitive or not 
     1378        \param sensitive If true auto completion is case sensitive, else not 
     1379*/ 
     1380void pMonkeyStudio::setAutoCompletionCaseSensitivity( bool sensitive ) 
     1381{ MonkeyCore::settings()->setValue( settingsPath() +"/AutoCompletionCaseSensitivity", sensitive ); } 
     1382 
     1383/*! 
     1384        \details Return true if auto completion is case sensitive, else false 
     1385*/ 
    12641386const bool pMonkeyStudio::autoCompletionCaseSensitivity() 
    12651387{ return MonkeyCore::settings()->value( settingsPath() +"/AutoCompletionCaseSensitivity", true ).toBool(); } 
    12661388 
    1267 void pMonkeyStudio::setAutoCompletionReplaceWord( bool b ) 
    1268 { MonkeyCore::settings()->setValue( settingsPath() +"/AutoCompletionReplaceWord", b ); } 
    1269  
     1389/*! 
     1390        \details Set if applying an autocompletion replace current word, or append to it 
     1391        \param replace If true repalce word, else append to it 
     1392*/ 
     1393void pMonkeyStudio::setAutoCompletionReplaceWord( bool replace ) 
     1394{ MonkeyCore::settings()->setValue( settingsPath() +"/AutoCompletionReplaceWord", replace ); } 
     1395 
     1396/*! 
     1397        \details Return true if auto completion repalce word else false 
     1398*/ 
    12701399const bool pMonkeyStudio::autoCompletionReplaceWord() 
    12711400{ return MonkeyCore::settings()->value( settingsPath() +"/AutoCompletionReplaceWord", true ).toBool(); } 
    12721401 
    1273 void pMonkeyStudio::setAutoCompletionShowSingle( bool b ) 
    1274 { MonkeyCore::settings()->setValue( settingsPath() +"/AutoCompletionShowSingle", b ); } 
    1275  
     1402/*! 
     1403        \details Set if auto completion list is shown for single match 
     1404        \param show If true, showw single match in list popup, else auto complate 
     1405*/ 
     1406void pMonkeyStudio::setAutoCompletionShowSingle( bool show ) 
     1407{ MonkeyCore::settings()->setValue( settingsPath() +"/AutoCompletionShowSingle", show ); } 
     1408 
     1409/*! 
     1410        \details Return true if single match is shown, else false 
     1411*/ 
    12761412const bool pMonkeyStudio::autoCompletionShowSingle() 
    12771413{ return MonkeyCore::settings()->value( settingsPath() +"/AutoCompletionShowSingle", false ).toBool(); } 
    12781414 
    1279 void pMonkeyStudio::setAutoCompletionSource( QsciScintilla::AutoCompletionSource a ) 
    1280 { MonkeyCore::settings()->setValue( settingsPath() +"/AutoCompletionSource", a ); } 
    1281  
     1415/*! 
     1416        \details Set autocompletion source mode 
     1417        \param mode The mode to use 
     1418*/ 
     1419void pMonkeyStudio::setAutoCompletionSource( QsciScintilla::AutoCompletionSource mode ) 
     1420{ MonkeyCore::settings()->setValue( settingsPath() +"/AutoCompletionSource", mode ); } 
     1421 
     1422/*! 
     1423        \details Return the autocompletion mode used 
     1424*/ 
    12821425const QsciScintilla::AutoCompletionSource pMonkeyStudio::autoCompletionSource() 
    12831426{ return (QsciScintilla::AutoCompletionSource)MonkeyCore::settings()->value( settingsPath() +"/AutoCompletionSource", (int)QsciScintilla::AcsAll ).toInt(); } 
    12841427 
    1285 void pMonkeyStudio::setAutoCompletionThreshold( int i ) 
    1286 { MonkeyCore::settings()->setValue( settingsPath() +"/AutoCompletionThreshold", i ); } 
    1287  
     1428/*! 
     1429        \details Set the autocompletion threshold ( ie: needed typed letters to invoke autocompletion list ) 
     1430        \param count The number of letters to type 
     1431*/ 
     1432void pMonkeyStudio::setAutoCompletionThreshold( int count ) 
     1433{ MonkeyCore::settings()->setValue( settingsPath() +"/AutoCompletionThreshold", count ); } 
     1434 
     1435/*! 
     1436        \details Return the autocompletion threshold count 
     1437*/ 
    12881438const int pMonkeyStudio::autoCompletionThreshold() 
    12891439{ return MonkeyCore::settings()->value( settingsPath() +"/AutoCompletionThreshold", 3 ).toInt(); } 
    12901440 
    1291 void pMonkeyStudio::setCallTipsBackgroundColor( const QColor& c ) 
    1292 { MonkeyCore::settings()->setValue( settingsPath() +"/CallTipsBackgroundColor", c ); } 
    1293  
     1441/*! 
     1442        \details Set the calltips background color 
     1443        \param color The color to apply 
     1444*/ 
     1445void pMonkeyStudio::setCallTipsBackgroundColor( const QColor& color ) 
     1446{ MonkeyCore::settings()->setValue( settingsPath() +"/CallTipsBackgroundColor", color ); } 
     1447 
     1448/*! 
     1449        \details Return the calltips baclground color 
     1450*/ 
    12941451const QColor pMonkeyStudio::callTipsBackgroundColor() 
    12951452{ return MonkeyCore::settings()->value( settingsPath() +"/CallTipsBackgroundColor", QColor( "#ffff9b" ) ).value<QColor>(); } 
    12961453 
    1297 void pMonkeyStudio::setCallTipsForegroundColor( const QColor& c ) 
    1298 { MonkeyCore::settings()->setValue( settingsPath() +"/CallTipsForegroundColor", c ); } 
    1299  
     1454/*! 
     1455        \details Set calltips foreground color 
     1456        \param color The color to apply 
     1457*/ 
     1458void pMonkeyStudio::setCallTipsForegroundColor( const QColor& color ) 
     1459{ MonkeyCore::settings()->setValue( settingsPath() +"/CallTipsForegroundColor", color ); } 
     1460 
     1461/*! 
     1462        \details Return the calltips foreground color 
     1463*/ 
    13001464const QColor pMonkeyStudio::callTipsForegroundColor() 
    13011465{ return MonkeyCore::settings()->value( settingsPath() +"/CallTipsForegroundColor", QColor( "#000000" ) ).value<QColor>(); } 
    13021466 
    1303 void pMonkeyStudio::setCallTipsHighlightColor( const QColor& c ) 
    1304 { MonkeyCore::settings()->setValue( settingsPath() +"/CallTipsHighlightColor", c ); } 
    1305  
     1467/*! 
     1468        \details Set the calltips highlight color 
     1469        \param color The color to apply 
     1470*/ 
     1471void pMonkeyStudio::setCallTipsHighlightColor( const QColor& color ) 
     1472{ MonkeyCore::settings()->setValue( settingsPath() +"/CallTipsHighlightColor", color ); } 
     1473 
     1474/*! 
     1475        \details Return the calltips highlight color 
     1476*/ 
    13061477const QColor pMonkeyStudio::callTipsHighlightColor() 
    13071478{ return MonkeyCore::settings()->value( settingsPath() +"/CallTipsHighlightColor", QColor( "#ff0000" ) ).value<QColor>(); } 
    13081479 
    1309 void pMonkeyStudio::setCallTipsStyle( QsciScintilla::CallTipsStyle s ) 
    1310 { MonkeyCore::settings()->setValue( settingsPath() +"/CallTipsStyle", s ); } 
    1311  
     1480/*! 
     1481        \details Set the calltips style 
     1482        \param style The style to apply 
     1483*/ 
     1484void pMonkeyStudio::setCallTipsStyle( QsciScintilla::CallTipsStyle style ) 
     1485{ MonkeyCore::settings()->setValue( settingsPath() +"/CallTipsStyle", style ); } 
     1486 
     1487/*! 
     1488        \details Return the calltips style 
     1489*/ 
    13121490const QsciScintilla::CallTipsStyle pMonkeyStudio::callTipsStyle() 
    13131491{ return (QsciScintilla::CallTipsStyle)MonkeyCore::settings()->value( settingsPath() +"/CallTipsStyle", (int)QsciScintilla::CallTipsContext ).toInt(); } 
    13141492 
    1315 void pMonkeyStudio::setCallTipsVisible( int i ) 
    1316 { MonkeyCore::settings()->setValue( settingsPath() +"/CallTipsVisible", i ); } 
    1317  
     1493/*! 
     1494        \details Set the calltips visible count 
     1495        \param count The number of calltips to show at one time 
     1496*/ 
     1497void pMonkeyStudio::setCallTipsVisible( int count ) 
     1498{ MonkeyCore::settings()->setValue( settingsPath() +"/CallTipsVisible", count ); } 
     1499 
     1500/*! 
     1501        \details Return the calltips visible number 
     1502*/ 
    13181503const int pMonkeyStudio::callTipsVisible() 
    13191504{ return MonkeyCore::settings()->value( settingsPath() +"/CallTipsVisible", -1 ).toInt(); } 
    13201505 
    1321 void pMonkeyStudio::setAutoIndent( bool b ) 
    1322 { MonkeyCore::settings()->setValue( settingsPath() +"/AutoIndent", b ); } 
    1323  
     1506/*! 
     1507        \details Set auto indentation 
     1508        \param autoindent If true auto indentation is performed, else no 
     1509*/ 
     1510void pMonkeyStudio::setAutoIndent( bool autoindent ) 
     1511{ MonkeyCore::settings()->setValue( settingsPath() +"/AutoIndent", autoindent ); } 
     1512 
     1513/*! 
     1514        \details Return true if auto indentation is active, else false 
     1515*/ 
    13241516const bool pMonkeyStudio::autoIndent() 
    13251517{ return MonkeyCore::settings()->value( settingsPath() +"/AutoIndent", true ).toBool(); } 
    13261518 
    1327 void pMonkeyStudio::setBackspaceUnindents( bool b ) 
    1328 { MonkeyCore::settings()->setValue( settingsPath() +"/BackspaceUnindents", b ); } 
    1329  
     1519/*! 
     1520        \details Set if backspace unindents 
     1521        \param unindents If true, backspace key do unindents, else no 
     1522*/ 
     1523void pMonkeyStudio::setBackspaceUnindents( bool unindents ) 
     1524{ MonkeyCore::settings()->setValue( settingsPath() +"/BackspaceUnindents", unindents ); } 
     1525 
     1526/*! 
     1527        \details Return true if backspace key unindents else false 
     1528*/ 
    13301529const bool pMonkeyStudio::backspaceUnindents() 
    13311530{ return MonkeyCore::settings()->value( settingsPath() +"/BackspaceUnindents", true ).toBool(); } 
    13321531 
    1333 void pMonkeyStudio::setIndentationGuides( bool b ) 
    1334 { MonkeyCore::settings()->setValue( settingsPath() +"/IndentationGuides", b ); } 
    1335  
     1532/*! 
     1533        \details Set if indentation guides are visible 
     1534        \param visible If true guides are visible 
     1535*/ 
     1536void pMonkeyStudio::setIndentationGuides( bool visible ) 
     1537{ MonkeyCore::settings()->setValue( settingsPath() +"/IndentationGuides", visible ); } 
     1538 
     1539/*! 
     1540        \details Return true if indentation guides are shown, else false 
     1541*/ 
    13361542const bool pMonkeyStudio::indentationGuides() 
    13371543{ return MonkeyCore::settings()->value( settingsPath() +"/IndentationGuides", true ).toBool(); } 
    13381544 
    1339 void pMonkeyStudio::setIndentationsUseTabs( bool b ) 
    1340 { MonkeyCore::settings()->setValue( settingsPath() +"/IndentationsUseTabs", b ); } 
    1341  
     1545/*! 
     1546        \details Set if indentation use tabs 
     1547        \param tabs If true, tabs are used, else spaces 
     1548*/ 
     1549void pMonkeyStudio::setIndentationsUseTabs( bool tabs ) 
     1550{ MonkeyCore::settings()->setValue( settingsPath() +"/IndentationsUseTabs", tabs ); } 
     1551 
     1552/*! 
     1553        \details Return true if indentation use tabs, else false 
     1554*/ 
    13421555const bool pMonkeyStudio::indentationsUseTabs() 
    13431556{ return MonkeyCore::settings()->value( settingsPath() +"/IndentationsUseTabs", true ).toBool(); } 
    13441557 
    1345 void pMonkeyStudio::setAutoDetectIndent( bool b ) 
    1346 { MonkeyCore::settings()->setValue( settingsPath() +"/AutoDetectIndent", b ); } 
    1347  
     1558/*! 
     1559        \details Set if indent is auto detected 
     1560        \param detect If true, inden is auto detected, else no 
     1561*/ 
     1562void pMonkeyStudio::setAutoDetectIndent( bool detect ) 
     1563{ MonkeyCore::settings()->setValue( settingsPath() +"/AutoDetectIndent", detect ); } 
     1564 
     1565/*! 
     1566        \details Return true if indent is auto detected, else false 
     1567*/ 
    13481568const bool pMonkeyStudio::autoDetectIndent() 
    13491569{ return MonkeyCore::settings()->value( settingsPath() +"/AutoDetectIndent", false ).toBool(); } 
    13501570 
    1351 void pMonkeyStudio::setIndentationWidth( int i ) 
    1352 { MonkeyCore::settings()->setValue( settingsPath() +"/IndentationWidth", i ); } 
    1353  
     1571/*! 
     1572        \details Set indentation width 
     1573        \param width The indentation width 
     1574*/ 
     1575void pMonkeyStudio::setIndentationWidth( int width ) 
     1576{ MonkeyCore::settings()->setValue( settingsPath() +"/IndentationWidth", width ); } 
     1577 
     1578/*! 
     1579        \details Return the indentation width 
     1580*/ 
    13541581const int pMonkeyStudio::indentationWidth() 
    13551582{ return MonkeyCore::settings()->value( settingsPath() +"/IndentationWidth", 4 ).toInt(); } 
    13561583 
    1357 void pMonkeyStudio::setTabIndents( bool b ) 
    1358 { MonkeyCore::settings()->setValue( settingsPath() +"/TabIndents", b ); } 
    1359  
     1584/*! 
     1585        \details Set if tab key indents 
     1586        \param indent If true, tab key do indent, else add simple tabulation 
     1587*/ 
     1588void pMonkeyStudio::setTabIndents( bool indent ) 
     1589{ MonkeyCore::settings()->setValue( settingsPath() +"/TabIndents", indent ); } 
     1590 
     1591/*! 
     1592        \details Return true if tab key do indent, else false 
     1593*/ 
    13601594const bool pMonkeyStudio::tabIndents() 
    13611595{ return MonkeyCore::settings()->value( settingsPath() +"/TabIndents", true ).toBool(); } 
    13621596 
    1363 void pMonkeyStudio::setTabWidth( int i ) 
    1364 { MonkeyCore::settings()->setValue( settingsPath() +"/TabWidth", i ); } 
    1365  
     1597/*! 
     1598        \details Set tab width 
     1599        \param width The tab width 
     1600*/ 
     1601void pMonkeyStudio::setTabWidth( int width ) 
     1602{ MonkeyCore::settings()->setValue( settingsPath() +"/TabWidth", width ); } 
     1603 
     1604/*! 
     1605        \details Return the tab width 
     1606*/ 
    13661607const int pMonkeyStudio::tabWidth() 
    13671608{ return MonkeyCore::settings()->value( settingsPath() +"/TabWidth", 4 ).toInt(); } 
    13681609 
    1369 void pMonkeyStudio::setIndentationGuidesBackgroundColor( const QColor& c ) 
    1370 { MonkeyCore::settings()->setValue( settingsPath() +"/IndentationGuidesBackgroundColor", c ); } 
    1371  
     1610/*! 
     1611        \details Set the indentation guide guide background color 
     1612        \param color The color to apply 
     1613*/ 
     1614void pMonkeyStudio::setIndentationGuidesBackgroundColor( const QColor& color ) 
     1615{ MonkeyCore::settings()->setValue( settingsPath() +"/IndentationGuidesBackgroundColor", color ); } 
     1616 
     1617/*! 
     1618        \details Return the indentation guide background color 
     1619*/ 
    13721620const QColor pMonkeyStudio::indentationGuidesBackgroundColor() 
    13731621{ return MonkeyCore::settings()->value( settingsPath() +"/IndentationGuidesBackgroundColor", QColor( "#0000ff" ) ).value<QColor>(); } 
    13741622 
     1623/*! 
     1624        \details Set the indentation guide foreground color 
     1625        \param color The color to apply 
     1626*/ 
    13751627void pMonkeyStudio::setIndentationGuidesForegroundColor( const QColor& c ) 
    13761628{ MonkeyCore::settings()->setValue( settingsPath() +"/IndentationGuidesForegroundColor", c ); } 
    13771629 
     1630/*! 
     1631        \details Return the indentation guide foreground color 
     1632*/ 
    13781633const QColor pMonkeyStudio::indentationGuidesForegroundColor() 
    13791634{ return MonkeyCore::settings()->value( settingsPath() +"/IndentationGuidesForegroundColor", QColor( "#0000ff" ) ).value<QColor>(); } 
    13801635 
    1381 void pMonkeyStudio::setBraceMatching( QsciScintilla::BraceMatch b ) 
    1382 { MonkeyCore::settings()->setValue( settingsPath() +"/BraceMatching", b ); } 
    1383  
     1636/*! 
     1637        \details Set the brace matching mode 
     1638        \param mode The mode to apply 
     1639*/ 
     1640void pMonkeyStudio::setBraceMatching( QsciScintilla::BraceMatch mode ) 
     1641{ MonkeyCore::settings()->setValue( settingsPath() +"/BraceMatching", mode ); } 
     1642 
     1643/*! 
     1644        \details Return the brace matching mode 
     1645*/ 
    13841646const QsciScintilla::BraceMatch pMonkeyStudio::braceMatching() 
    13851647{ return (QsciScintilla::BraceMatch)MonkeyCore::settings()->value( settingsPath() +"/BraceMatching", (int)QsciScintilla::SloppyBraceMatch ).toInt(); } 
    13861648 
    1387 void pMonkeyStudio::setMatchedBraceBackgroundColor( const QColor& c ) 
    1388 { MonkeyCore::settings()->setValue( settingsPath() +"/MatchedBraceBackgroundColor", c ); } 
    1389  
     1649/*! 
     1650        \details Set the matched brace background color 
     1651        \param color The color to apply 
     1652*/ 
     1653void pMonkeyStudio::setMatchedBraceBackgroundColor( const QColor& color ) 
     1654{ MonkeyCore::settings()->setValue( settingsPath() +"/MatchedBraceBackgroundColor", color ); } 
     1655 
     1656/*! 
     1657        \details Return the matched brace background color 
     1658*/ 
    13901659const QColor pMonkeyStudio::matchedBraceBackgroundColor() 
    13911660{ return MonkeyCore::settings()->value( settingsPath() +"/MatchedBraceBackgroundColor", QColor( "#ffff7f" ) ).value<QColor>(); } 
    13921661 
    1393 void pMonkeyStudio::setMatchedBraceForegroundColor( const QColor& c ) 
    1394 { MonkeyCore::settings()->setValue( settingsPath() +"/MatchedBraceForegroundColor", c ); } 
    1395  
     1662/*! 
     1663        \details Set the matched brache foreground color 
     1664        \param color The color to apply 
     1665*/ 
     1666void pMonkeyStudio::setMatchedBraceForegroundColor( const QColor& color ) 
     1667{ MonkeyCore::settings()->setValue( settingsPath() +"/MatchedBraceForegroundColor", color ); } 
     1668 
     1669/*! 
     1670        \details Return the matched brace foreground color 
     1671*/ 
    13961672const QColor pMonkeyStudio::matchedBraceForegroundColor() 
    13971673{ return MonkeyCore::settings()->value( settingsPath() +"/MatchedBraceForegroundColor", QColor( "#ff0000" ) ).value<QColor>(); }