Kaydet (Commit) c40ba9c3 authored tarafından Gergo Mocsi's avatar Gergo Mocsi

GSOC work, config crach fix

Storing code completition data in config file is fully functional.

Change-Id: If9a974dd0ed052e26963ad5f202493674f1a51ca
üst 81947986
...@@ -42,13 +42,13 @@ CodeCompleteOptionsDlg::CodeCompleteOptionsDlg( Window* pWindow ) ...@@ -42,13 +42,13 @@ CodeCompleteOptionsDlg::CodeCompleteOptionsDlg( Window* pWindow )
pOkBtn->SetClickHdl( LINK( this, CodeCompleteOptionsDlg, OkHdl ) ); pOkBtn->SetClickHdl( LINK( this, CodeCompleteOptionsDlg, OkHdl ) );
pCancelBtn->SetClickHdl( LINK( this, CodeCompleteOptionsDlg, CancelHdl ) ); pCancelBtn->SetClickHdl( LINK( this, CodeCompleteOptionsDlg, CancelHdl ) );
//LoadConfig(); LoadConfig();
pCodeCompleteChk->Check( CodeCompleteOptions::IsCodeCompleteOn() ); /*pCodeCompleteChk->Check( CodeCompleteOptions::IsCodeCompleteOn() );
pAutocloseProcChk->Check( CodeCompleteOptions::IsProcedureAutoCompleteOn() ); pAutocloseProcChk->Check( CodeCompleteOptions::IsProcedureAutoCompleteOn() );
pAutocloseQuotesChk->Check( CodeCompleteOptions::IsAutoCloseQuotesOn() ); pAutocloseQuotesChk->Check( CodeCompleteOptions::IsAutoCloseQuotesOn() );
pAutocloseParenChk->Check( CodeCompleteOptions::IsAutoCloseParenthesisOn() ); pAutocloseParenChk->Check( CodeCompleteOptions::IsAutoCloseParenthesisOn() );
pAutoCorrectSpellingChk->Check( CodeCompleteOptions::IsAutoCorrectSpellingOn() ); pAutoCorrectSpellingChk->Check( CodeCompleteOptions::IsAutoCorrectSpellingOn() );*/
} }
...@@ -64,7 +64,7 @@ IMPL_LINK_NOARG(CodeCompleteOptionsDlg, OkHdl) ...@@ -64,7 +64,7 @@ IMPL_LINK_NOARG(CodeCompleteOptionsDlg, OkHdl)
CodeCompleteOptions::SetAutoCloseParenthesisOn( pAutocloseParenChk->IsChecked() ); CodeCompleteOptions::SetAutoCloseParenthesisOn( pAutocloseParenChk->IsChecked() );
CodeCompleteOptions::SetAutoCorrectSpellingOn( pAutoCorrectSpellingChk->IsChecked() ); CodeCompleteOptions::SetAutoCorrectSpellingOn( pAutoCorrectSpellingChk->IsChecked() );
//SaveConfig(); SaveConfig();
Close(); Close();
return 0; return 0;
} }
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
--> -->
<!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd"> <!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:install="http://openoffice.org/2004/installation" oor:name="BasicIDE" oor:package="org.openoffice.Office"> <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:install="http://openoffice.org/2004/installation" oor:name="BasicIDE" oor:package="org.openoffice.Office">
<node oor:name="Autocomplete" oor:op="replace"> <!--<node oor:name="Autocomplete" oor:op="replace">
<prop oor:name="CodeComplete"> <prop oor:name="CodeComplete">
<value>false</value> <value>false</value>
</prop> </prop>
...@@ -34,5 +34,5 @@ ...@@ -34,5 +34,5 @@
<prop oor:name="AutoCorrectSpelling"> <prop oor:name="AutoCorrectSpelling">
<value>false</value> <value>false</value>
</prop> </prop>
</node> </node>!-->
</oor:component-data> </oor:component-data>
...@@ -128,6 +128,7 @@ postprocess_FILES_main := \ ...@@ -128,6 +128,7 @@ postprocess_FILES_main := \
$(postprocess_XCS)/LDAP.xcs \ $(postprocess_XCS)/LDAP.xcs \
$(postprocess_XCS)/Office/Accelerators.xcs \ $(postprocess_XCS)/Office/Accelerators.xcs \
$(postprocess_XCS)/Office/Addons.xcs \ $(postprocess_XCS)/Office/Addons.xcs \
$(postprocess_XCS)/Office/BasicIDE.xcs \
$(postprocess_XCS)/Office/Calc.xcs \ $(postprocess_XCS)/Office/Calc.xcs \
$(postprocess_XCS)/Office/CalcAddIns.xcs \ $(postprocess_XCS)/Office/CalcAddIns.xcs \
$(postprocess_XCS)/Office/Canvas.xcs \ $(postprocess_XCS)/Office/Canvas.xcs \
...@@ -211,6 +212,7 @@ postprocess_FILES_main := \ ...@@ -211,6 +212,7 @@ postprocess_FILES_main := \
$(postprocess_XCU)/Inet.xcu \ $(postprocess_XCU)/Inet.xcu \
$(postprocess_XCU)/Interaction.xcu \ $(postprocess_XCU)/Interaction.xcu \
$(postprocess_XCU)/Office/Accelerators.xcu \ $(postprocess_XCU)/Office/Accelerators.xcu \
$(postprocess_XCU)/Office/BasicIDE.xcu \
$(postprocess_XCU)/Office/Calc.xcu \ $(postprocess_XCU)/Office/Calc.xcu \
$(postprocess_XCU)/Office/Canvas.xcu \ $(postprocess_XCU)/Office/Canvas.xcu \
$(postprocess_XCU)/Office/Common.xcu \ $(postprocess_XCU)/Office/Common.xcu \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment