InputText: Fixed several issues

- Fixed lots of handle leak caused by Threading. Now uses ThreadPool instead of Thread. This change may fix IME issue that cannot input character like Japanese for instance.
- Commented out some non-used part.
- Removed ref keyword from ScanAndReplace().
This commit is contained in:
spx
2013-02-27 11:42:08 +09:00
parent 533d53e446
commit 71601d7564
4 changed files with 122 additions and 160 deletions

View File

@ -18,7 +18,7 @@ namespace InputText
"Peter Souza IV",
// Version
1.05,
1.06,
// E-mail
"psouza4@gmail.com",
@ -125,13 +125,13 @@ namespace InputText
/// </summary>
/// <param name="id">The unique instance ID of this request.</param>
/// <returns>Current value for this meter.</returns>
[DllExport]
public static double Update2(UInt32 id)
{
// Do not modify this member (although you can comment it out). Instead, update
// your code in 'PluginCode.cs'.
return new YourPlugin().Update2(Plugin, id);
}
//[DllExport]
//public static double Update2(UInt32 id)
//{
// // Do not modify this member (although you can comment it out). Instead, update
// // your code in 'PluginCode.cs'.
// return new YourPlugin().Update2(Plugin, id);
//}
/// <summary>
/// Rainmeter's request for text data from the plugin.