issues
search
LadyDefile
/
Wordsmith-DalamudPlugin
Wordsmith is a Dalamud Plugin aiming to make roleplay easier, more convenient, and harder to accidentally "wrong chat" your post.
7
stars
3
forks
source link
Custom headers
#12
Closed
LadyDefile
closed
2 years ago
LadyDefile
commented
2 years ago
Changelog
Data.HeaderData.cs
Created File
Updated to use tuple style
Removed manual check for target in favor of new extension method.
Gui.DebugUI.cs
Added section for SettingsUI
Changed if DEBUG preprocessor command to include entire file to prevent any possible reference in release version.
Gui.ScratchPadUI.cs
Added constructor to PadState that takes ScratchPadUI as argument.
Removed unnecessary usage of full name qualifiers for Enums.EnterKeyAction
CheckForHeader(string, ref int) now uses a HeaderData struct to handle header detection.
Removed GetState() in favor of PadState(ScratchPadUI)
Refresh() now compares state and returns.
Gui.SettingsUI.cs
Added variables for aliases.
Added GetDebugString() function for getting data.
Added DrawAliasesTab() function to draw new aliases tab.
Fixed a bug in DrawSpellCheckTab() that caused a CTD when deleting the last dictionary item.
Added new variable _newAliasTarget.
Added support for new tuple style of alias data
Added support for tell targets
Added checks to prevent adding tell alias without tell target.
Added a TextWrapped to describe what an alias does.
Added ToolTips to new objects in Aliases tab
Optimized Alias handling of Tell chat type.
Added a another check to Alias validation to include the default header commands to prevent them from being used.
Configuration.cs
regionized Scratch Pad Settings.
Made PunctuationCleaningList internal as it isn't able to be modified therefore doesn't need saved.
Made ContinuationMarkerOnLast default to true.
Fixed a mistake in ResetToDefault() where AutomaticallyClearAfterLastCopy was being made true.
Added a third parameter to HeaderAliases property's tuple declaration.
Extensions.cs
Added a new extension method GetTarget(this string) for detecting if the string contains a target.
Added a new extension method isTarget(this string) for telling if the string is a valid target string.
WordsmitUI.cs
Removed private _windows property.
Redirected internal Windows property to internal WindowSystem.Windows property.
Added if DEBUG preprocessor command around ShowDebugUI function to remove it from release builds.
Updated private Show
(object) to use WindowSystem.Windows.
Updated internal RemoveWindow(Window) to not reference removed _windows property.
Updated Update() to use WindowSystem.Windows.
Updated Dispose() to use WindowSystem.Windows.
Wordsmith.csproj
Updated version number.
Changelog
Data.HeaderData.cs
Gui.DebugUI.cs
Gui.ScratchPadUI.cs
Gui.SettingsUI.cs
Configuration.cs
Extensions.cs
WordsmitUI.cs
Wordsmith.csproj