Author: lluis
Date: 2006-08-10 12:34:19 -0400 (Thu, 10 Aug 2006)
New Revision: 63601
Modified:
trunk/monodevelop/Extras/BooBinding/BooBinding.mdp
trunk/monodevelop/Extras/BooBinding/BooShell/BooShell.mdp
trunk/monodevelop/Extras/BooBinding/ChangeLog
trunk/monodevelop/Extras/BooBinding/Gui/ShellTextView.boo
Log:
2006-08-10 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* Gui/ShellTextView.boo: Provide the ambience to use for code
completion.
Modified: trunk/monodevelop/Extras/BooBinding/BooBinding.mdp
===================================================================
--- trunk/monodevelop/Extras/BooBinding/BooBinding.mdp 2006-08-10 16:33:20 UTC
(rev 63600)
+++ trunk/monodevelop/Extras/BooBinding/BooBinding.mdp 2006-08-10 16:34:19 UTC
(rev 63601)
@@ -14,9 +14,6 @@
</Configuration>
</Configurations>
<DeployTargets />
- <DeploymentInformation strategy="File">
- <excludeFiles />
- </DeploymentInformation>
<Contents>
<File name="./templates/BooGtkSharpProject.xpt.xml" subtype="Code"
buildaction="EmbedAsResource" />
<File name="./templates/BooLibraryProject.xpt.xml" subtype="Code"
buildaction="EmbedAsResource" />
@@ -80,4 +77,7 @@
<ProjectReference type="Gac" localcopy="True" refto="gconf-sharp,
Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<ProjectReference type="Gac" localcopy="True" refto="gtksourceview-sharp,
Version=1.0.0.2, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
</References>
+ <DeploymentInformation strategy="File">
+ <excludeFiles />
+ </DeploymentInformation>
</Project>
\ No newline at end of file
Modified: trunk/monodevelop/Extras/BooBinding/BooShell/BooShell.mdp
===================================================================
--- trunk/monodevelop/Extras/BooBinding/BooShell/BooShell.mdp 2006-08-10
16:33:20 UTC (rev 63600)
+++ trunk/monodevelop/Extras/BooBinding/BooShell/BooShell.mdp 2006-08-10
16:34:19 UTC (rev 63601)
@@ -14,9 +14,6 @@
</Configuration>
</Configurations>
<DeployTargets />
- <DeploymentInformation strategy="File">
- <excludeFiles />
- </DeploymentInformation>
<Contents>
<File name="./BooShell.boo" subtype="Code" buildaction="Compile" />
</Contents>
@@ -35,4 +32,7 @@
<ProjectReference type="Gac" localcopy="True" refto="Boo.Lang.Parser,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=32c39770e9a21a67" />
<ProjectReference type="Gac" localcopy="True" refto="Boo.Lang.Interpreter,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=32c39770e9a21a67" />
</References>
+ <DeploymentInformation strategy="File">
+ <excludeFiles />
+ </DeploymentInformation>
</Project>
\ No newline at end of file
Modified: trunk/monodevelop/Extras/BooBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/BooBinding/ChangeLog 2006-08-10 16:33:20 UTC
(rev 63600)
+++ trunk/monodevelop/Extras/BooBinding/ChangeLog 2006-08-10 16:34:19 UTC
(rev 63601)
@@ -1,3 +1,8 @@
+2006-08-10 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * Gui/ShellTextView.boo: Provide the ambience to use for code
+ completion.
+
2006-07-11 Philip Turnbull <[EMAIL PROTECTED]>
* BooBinding/BooAmbience.cs:
Modified: trunk/monodevelop/Extras/BooBinding/Gui/ShellTextView.boo
===================================================================
--- trunk/monodevelop/Extras/BooBinding/Gui/ShellTextView.boo 2006-08-10
16:33:20 UTC (rev 63600)
+++ trunk/monodevelop/Extras/BooBinding/Gui/ShellTextView.boo 2006-08-10
16:34:19 UTC (rev 63601)
@@ -73,6 +73,7 @@
private _fakeFileName as string
private _fileInfo as FileStream
private _parserContext as IParserContext;
+ private _ambience as BooBinding.BooAmbience
def constructor(model as IShellModel):
_parserService = IdeApp.ProjectOperations.ParserDatabase
@@ -106,6 +107,7 @@
_parserService.Load(_fakeProject)
_parserContext = _parserService.GetProjectParserContext
(_fakeProject)
+ _ambience = BooBinding.BooAmbience ()
Model.Properties.InternalProperties.PropertyChanged +=
OnPropertyChanged
Model.RegisterOutputHandler (HandleOutput)
@@ -336,7 +338,7 @@
elif ev.Key == Gdk.Key.period:
ret = super.OnKeyPressEvent(ev)
prepareCompletionDetails (Buffer.GetIterAtMark
(Buffer.InsertMark))
- CompletionListWindow.ShowWindow(char('.'),
CodeCompletionDataProvider (_parserContext, _fakeFileName, true), self)
+ CompletionListWindow.ShowWindow(char('.'),
CodeCompletionDataProvider (_parserContext, _ambience, _fakeFileName, true),
self)
return ret
// Short circuit to avoid getting moved back to the input line
@@ -379,7 +381,7 @@
triggerIter.ForwardChar ()
prepareCompletionDetails (triggerIter)
- CompletionListWindow.ShowWindow (triggerChar,
CodeCompletionDataProvider (_parserContext, _fakeFileName, true), self)
+ CompletionListWindow.ShowWindow (triggerChar,
CodeCompletionDataProvider (_parserContext, _ambience, _fakeFileName, true),
self)
// Mark to find the beginning of our next input line
private _endOfLastProcessing as TextMark
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches