mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
minor fix
This commit is contained in:
parent
acc2e5b14c
commit
3a25b8385f
2 changed files with 5 additions and 3 deletions
|
@ -207,7 +207,8 @@ namespace IDE.Compiler
|
|||
public void Reformat(int formatStart, int formatEnd, out int32[] char8Mapping, String str)
|
||||
{
|
||||
int32* char8MappingPtr;
|
||||
var stringPtr = BfParser_Format(mNativeBfParser, (int32)formatStart, (int32)formatEnd, out char8MappingPtr, gApp.mSettings.mEditorSettings.mWrapCommentsAt);
|
||||
var maxCol = gApp.mSettings.mEditorSettings.mWrapCommentsAt;
|
||||
var stringPtr = BfParser_Format(mNativeBfParser, (int32)formatStart, (int32)formatEnd, out char8MappingPtr, maxCol);
|
||||
str.Append(stringPtr);
|
||||
|
||||
char8Mapping = new int32[str.Length];
|
||||
|
|
|
@ -127,6 +127,7 @@ namespace IDE.ui
|
|||
AddPropertiesItem(category, "Format on Save", "mFormatOnSave");
|
||||
AddPropertiesItem(category, "Sync with Workspace Panel", "mSyncWithWorkspacePanel");
|
||||
AddPropertiesItem(category, "Wrap comments at length (0 = none)", "mWrapCommentsAt");
|
||||
|
||||
category.Open(true, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue