Fixed function name and comments.
This commit is contained in:
parent
364b01585e
commit
9510e14d35
1 changed files with 9 additions and 2 deletions
|
@ -83,7 +83,7 @@ namespace ScrewTurn.Wiki.Plugins.PluginPack {
|
||||||
int words = 350;
|
int words = 350;
|
||||||
|
|
||||||
if(block.Value.Groups.Count > 3) {
|
if(block.Value.Groups.Count > 3) {
|
||||||
analizeSettings(block.Value.Groups[4].Value, out entries, out newWindow, out words);
|
AnalyzeSettings(block.Value.Groups[4].Value, out entries, out newWindow, out words);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isTwitter) {
|
if(isTwitter) {
|
||||||
|
@ -144,7 +144,14 @@ namespace ScrewTurn.Wiki.Plugins.PluginPack {
|
||||||
return buffer.ToString();
|
return buffer.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void analizeSettings(string settingString, out int entries, out bool newWindow, out int words) {
|
/// <summary>
|
||||||
|
/// Analizes the settings string.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="settingString">The setting string.</param>
|
||||||
|
/// <param name="entries">The number of entries.</param>
|
||||||
|
/// <param name="newWindow">The newWindow value.</param>
|
||||||
|
/// <param name="words">The max number of words.</param>
|
||||||
|
private void AnalyzeSettings(string settingString, out int entries, out bool newWindow, out int words) {
|
||||||
entries = 1;
|
entries = 1;
|
||||||
newWindow = true;
|
newWindow = true;
|
||||||
words = 350;
|
words = 350;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue