diff --git a/sources/macos/Tenniarb/docs/Images/add_item_copy_style.png b/Images/add_item_copy_style.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/add_item_copy_style.png rename to Images/add_item_copy_style.png diff --git a/sources/macos/Tenniarb/docs/Images/add_new_item.png b/Images/add_new_item.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/add_new_item.png rename to Images/add_new_item.png diff --git a/sources/macos/Tenniarb/docs/Images/attach_image.png b/Images/attach_image.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/attach_image.png rename to Images/attach_image.png diff --git a/sources/macos/Tenniarb/docs/Images/body_all.png b/Images/body_all.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/body_all.png rename to Images/body_all.png diff --git a/sources/macos/Tenniarb/docs/Images/color-table.png b/Images/color-table.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/color-table.png rename to Images/color-table.png diff --git a/sources/macos/Tenniarb/docs/Images/context_menu.png b/Images/context_menu.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/context_menu.png rename to Images/context_menu.png diff --git a/sources/macos/Tenniarb/docs/Images/copy_paste_images.png b/Images/copy_paste_images.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/copy_paste_images.png rename to Images/copy_paste_images.png diff --git a/sources/macos/Tenniarb/docs/Images/corner-radius.png b/Images/corner-radius.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/corner-radius.png rename to Images/corner-radius.png diff --git a/sources/macos/Tenniarb/docs/Images/corner.png b/Images/corner.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/corner.png rename to Images/corner.png diff --git a/sources/macos/Tenniarb/docs/Images/diagram_quick_styles.png b/Images/diagram_quick_styles.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/diagram_quick_styles.png rename to Images/diagram_quick_styles.png diff --git a/sources/macos/Tenniarb/docs/Images/display.png b/Images/display.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/display.png rename to Images/display.png diff --git a/sources/macos/Tenniarb/docs/Images/display_prop.png b/Images/display_prop.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/display_prop.png rename to Images/display_prop.png diff --git a/sources/macos/Tenniarb/docs/Images/draw_line_items.png b/Images/draw_line_items.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/draw_line_items.png rename to Images/draw_line_items.png diff --git a/sources/macos/Tenniarb/docs/Images/duplicate_item.png b/Images/duplicate_item.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/duplicate_item.png rename to Images/duplicate_item.png diff --git a/sources/macos/Tenniarb/docs/Images/edit_title_body_value.png b/Images/edit_title_body_value.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/edit_title_body_value.png rename to Images/edit_title_body_value.png diff --git a/sources/macos/Tenniarb/docs/Images/elements_menu.png b/Images/elements_menu.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/elements_menu.png rename to Images/elements_menu.png diff --git a/sources/macos/Tenniarb/docs/Images/font_size.png b/Images/font_size.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/font_size.png rename to Images/font_size.png diff --git a/sources/macos/Tenniarb/docs/Images/general_info.png b/Images/general_info.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/general_info.png rename to Images/general_info.png diff --git a/sources/macos/Tenniarb/docs/Images/line_styles.png b/Images/line_styles.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/line_styles.png rename to Images/line_styles.png diff --git a/sources/macos/Tenniarb/docs/Images/links_variants.png b/Images/links_variants.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/links_variants.png rename to Images/links_variants.png diff --git a/sources/macos/Tenniarb/docs/Images/main_screen.png b/Images/main_screen.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/main_screen.png rename to Images/main_screen.png diff --git a/sources/macos/Tenniarb/docs/Images/markdown-support.png b/Images/markdown-support.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/markdown-support.png rename to Images/markdown-support.png diff --git a/sources/macos/Tenniarb/docs/Images/markdown_bold.png b/Images/markdown_bold.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/markdown_bold.png rename to Images/markdown_bold.png diff --git a/sources/macos/Tenniarb/docs/Images/markdown_code.png b/Images/markdown_code.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/markdown_code.png rename to Images/markdown_code.png diff --git a/sources/macos/Tenniarb/docs/Images/markdown_color.png b/Images/markdown_color.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/markdown_color.png rename to Images/markdown_color.png diff --git a/sources/macos/Tenniarb/docs/Images/markdown_color_word.png b/Images/markdown_color_word.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/markdown_color_word.png rename to Images/markdown_color_word.png diff --git a/sources/macos/Tenniarb/docs/Images/markdown_font_size.png b/Images/markdown_font_size.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/markdown_font_size.png rename to Images/markdown_font_size.png diff --git a/sources/macos/Tenniarb/docs/Images/markdown_italic.png b/Images/markdown_italic.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/markdown_italic.png rename to Images/markdown_italic.png diff --git a/sources/macos/Tenniarb/docs/Images/markdown_scratches.png b/Images/markdown_scratches.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/markdown_scratches.png rename to Images/markdown_scratches.png diff --git a/sources/macos/Tenniarb/docs/Images/markdown_topics.png b/Images/markdown_topics.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/markdown_topics.png rename to Images/markdown_topics.png diff --git a/sources/macos/Tenniarb/docs/Images/markdown_underline.png b/Images/markdown_underline.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/markdown_underline.png rename to Images/markdown_underline.png diff --git a/sources/macos/Tenniarb/docs/Images/quad-line-style.png b/Images/quad-line-style.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/quad-line-style.png rename to Images/quad-line-style.png diff --git a/sources/macos/Tenniarb/docs/Images/quickbar_multiitems.png b/Images/quickbar_multiitems.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/quickbar_multiitems.png rename to Images/quickbar_multiitems.png diff --git a/sources/macos/Tenniarb/docs/Images/styling_items.png b/Images/styling_items.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/styling_items.png rename to Images/styling_items.png diff --git a/sources/macos/Tenniarb/docs/Images/text-colors-dark.png b/Images/text-colors-dark.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/text-colors-dark.png rename to Images/text-colors-dark.png diff --git a/sources/macos/Tenniarb/docs/Images/text-colors.png b/Images/text-colors.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/text-colors.png rename to Images/text-colors.png diff --git a/sources/macos/Tenniarb/docs/Images/text-layout.png b/Images/text-layout.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/text-layout.png rename to Images/text-layout.png diff --git a/sources/macos/Tenniarb/docs/Images/textual_styles.png b/Images/textual_styles.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/textual_styles.png rename to Images/textual_styles.png diff --git a/sources/macos/Tenniarb/docs/Images/use-style-menu.png b/Images/use-style-menu.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/use-style-menu.png rename to Images/use-style-menu.png diff --git a/sources/macos/Tenniarb/docs/Images/use-style.png b/Images/use-style.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/use-style.png rename to Images/use-style.png diff --git a/sources/macos/Tenniarb/docs/Images/use_images_props.png b/Images/use_images_props.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/use_images_props.png rename to Images/use_images_props.png diff --git a/sources/macos/Tenniarb/docs/Images/width_height.png b/Images/width_height.png similarity index 100% rename from sources/macos/Tenniarb/docs/Images/width_height.png rename to Images/width_height.png diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/project.pbxproj b/Tenniarb.xcodeproj/project.pbxproj similarity index 99% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/project.pbxproj rename to Tenniarb.xcodeproj/project.pbxproj index 73cc47f..918787d 100644 --- a/sources/macos/Tenniarb/Tenniarb.xcodeproj/project.pbxproj +++ b/Tenniarb.xcodeproj/project.pbxproj @@ -169,7 +169,7 @@ 0C439D24200337AB0031AE78 /* ElementProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ElementProperties.swift; path = model/ElementProperties.swift; sourceTree = ""; }; 0C45B12822A397BE00640305 /* examples.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = examples.md; sourceTree = ""; }; 0C45B12A22A397BE00640305 /* main_screen.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = main_screen.png; sourceTree = ""; }; - 0C45B12B22A397BE00640305 /* readme.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = readme.md; sourceTree = ""; }; + 0C45B12B22A397BE00640305 /* readme.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = readme.md; path = ../readme.md; sourceTree = ""; }; 0C4C16071F2E369A000C5410 /* LayoutBase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LayoutBase.swift; sourceTree = ""; }; 0C4F0EC524C74B340065918D /* TestSVGGenerate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestSVGGenerate.swift; sourceTree = ""; }; 0C4F0EC724C74BB10065918D /* Example.tenn */ = {isa = PBXFileReference; lastKnownFileType = text; name = Example.tenn; path = ../../docs/Example.tenn; sourceTree = ""; }; @@ -470,8 +470,7 @@ 0CD1709922D5BB6400E217D4 /* width_height.png */, 0C45B12A22A397BE00640305 /* main_screen.png */, ); - name = Images; - path = docs/Images; + path = Images; sourceTree = SOURCE_ROOT; }; 0C4C16061F2E3685000C5410 /* layout */ = { @@ -986,7 +985,7 @@ CODE_SIGN_IDENTITY = "Mac Developer"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 46; + CURRENT_PROJECT_VERSION = 47; DEVELOPMENT_ASSET_PATHS = "Tenniarb/Preview\\ Content"; DEVELOPMENT_TEAM = 594YM2Y457; ENABLE_HARDENED_RUNTIME = YES; @@ -997,7 +996,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 12.0; - MARKETING_VERSION = 1.3; + MARKETING_VERSION = 1.3.1; PRODUCT_BUNDLE_IDENTIFIER = andrey.sobolev.Tenniarb; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1016,7 +1015,7 @@ CODE_SIGN_IDENTITY = "Mac Developer"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 46; + CURRENT_PROJECT_VERSION = 47; DEVELOPMENT_ASSET_PATHS = "Tenniarb/Preview\\ Content"; DEVELOPMENT_TEAM = 594YM2Y457; ENABLE_HARDENED_RUNTIME = YES; @@ -1027,7 +1026,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 12.0; - MARKETING_VERSION = 1.3; + MARKETING_VERSION = 1.3.1; PRODUCT_BUNDLE_IDENTIFIER = andrey.sobolev.Tenniarb; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Tenniarb.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Tenniarb.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Tenniarb.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to Tenniarb.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/Tenniarb.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to Tenniarb.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/IDEFindNavigatorScopes.plist b/Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/IDEFindNavigatorScopes.plist similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/IDEFindNavigatorScopes.plist rename to Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/IDEFindNavigatorScopes.plist diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/WorkspaceSettings.xcsettings b/Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/WorkspaceSettings.xcsettings similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/WorkspaceSettings.xcsettings rename to Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/WorkspaceSettings.xcsettings diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/xcdebugger/Expressions.xcexplist b/Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/xcdebugger/Expressions.xcexplist similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/xcdebugger/Expressions.xcexplist rename to Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/xcdebugger/Expressions.xcexplist diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/xcshareddata/xcbaselines/0C5C6D191EFF655B00714971.xcbaseline/E9E73BBE-9D7D-4DA2-9F28-836F75E242A3.plist b/Tenniarb.xcodeproj/xcshareddata/xcbaselines/0C5C6D191EFF655B00714971.xcbaseline/E9E73BBE-9D7D-4DA2-9F28-836F75E242A3.plist similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/xcshareddata/xcbaselines/0C5C6D191EFF655B00714971.xcbaseline/E9E73BBE-9D7D-4DA2-9F28-836F75E242A3.plist rename to Tenniarb.xcodeproj/xcshareddata/xcbaselines/0C5C6D191EFF655B00714971.xcbaseline/E9E73BBE-9D7D-4DA2-9F28-836F75E242A3.plist diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/xcshareddata/xcbaselines/0C5C6D191EFF655B00714971.xcbaseline/F82F6A0F-EF8C-4BDD-84BB-291B225DDC12.plist b/Tenniarb.xcodeproj/xcshareddata/xcbaselines/0C5C6D191EFF655B00714971.xcbaseline/F82F6A0F-EF8C-4BDD-84BB-291B225DDC12.plist similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/xcshareddata/xcbaselines/0C5C6D191EFF655B00714971.xcbaseline/F82F6A0F-EF8C-4BDD-84BB-291B225DDC12.plist rename to Tenniarb.xcodeproj/xcshareddata/xcbaselines/0C5C6D191EFF655B00714971.xcbaseline/F82F6A0F-EF8C-4BDD-84BB-291B225DDC12.plist diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/xcshareddata/xcbaselines/0C5C6D191EFF655B00714971.xcbaseline/Info.plist b/Tenniarb.xcodeproj/xcshareddata/xcbaselines/0C5C6D191EFF655B00714971.xcbaseline/Info.plist similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/xcshareddata/xcbaselines/0C5C6D191EFF655B00714971.xcbaseline/Info.plist rename to Tenniarb.xcodeproj/xcshareddata/xcbaselines/0C5C6D191EFF655B00714971.xcbaseline/Info.plist diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/xcshareddata/xcschemes/Tenniarb.xcscheme b/Tenniarb.xcodeproj/xcshareddata/xcschemes/Tenniarb.xcscheme similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/xcshareddata/xcschemes/Tenniarb.xcscheme rename to Tenniarb.xcodeproj/xcshareddata/xcschemes/Tenniarb.xcscheme diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/xcuserdata/andrey.xcuserdatad/xcschemes/xcschememanagement.plist b/Tenniarb.xcodeproj/xcuserdata/andrey.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/xcuserdata/andrey.xcuserdatad/xcschemes/xcschememanagement.plist rename to Tenniarb.xcodeproj/xcuserdata/andrey.xcuserdatad/xcschemes/xcschememanagement.plist diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/xcuserdata/andreysobolev.xcuserdatad/xcschemes/xcschememanagement.plist b/Tenniarb.xcodeproj/xcuserdata/andreysobolev.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/xcuserdata/andreysobolev.xcuserdatad/xcschemes/xcschememanagement.plist rename to Tenniarb.xcodeproj/xcuserdata/andreysobolev.xcuserdatad/xcschemes/xcschememanagement.plist diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/xcuserdata/haiodo.xcuserdatad/xcschemes/xcschememanagement.plist b/Tenniarb.xcodeproj/xcuserdata/haiodo.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 100% rename from sources/macos/Tenniarb/Tenniarb.xcodeproj/xcuserdata/haiodo.xcuserdatad/xcschemes/xcschememanagement.plist rename to Tenniarb.xcodeproj/xcuserdata/haiodo.xcuserdatad/xcschemes/xcschememanagement.plist diff --git a/sources/macos/Tenniarb/Tenniarb/.vscode/launch.json b/Tenniarb/.vscode/launch.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/.vscode/launch.json rename to Tenniarb/.vscode/launch.json diff --git a/sources/macos/Tenniarb/Tenniarb/.vscode/settings.json b/Tenniarb/.vscode/settings.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/.vscode/settings.json rename to Tenniarb/.vscode/settings.json diff --git a/sources/macos/Tenniarb/Tenniarb/AppDelegate.swift b/Tenniarb/AppDelegate.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/AppDelegate.swift rename to Tenniarb/AppDelegate.swift diff --git a/sources/macos/Tenniarb/Tenniarb/Application.swift b/Tenniarb/Application.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Application.swift rename to Tenniarb/Application.swift diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/AppIcon.appiconset/Contents.json b/Tenniarb/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Tenniarb/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/AppIcon.appiconset/Icon.png b/Tenniarb/Assets.xcassets/AppIcon.appiconset/Icon.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/AppIcon.appiconset/Icon.png rename to Tenniarb/Assets.xcassets/AppIcon.appiconset/Icon.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/AppIcon.appiconset/Icon@2x.png b/Tenniarb/Assets.xcassets/AppIcon.appiconset/Icon@2x.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/AppIcon.appiconset/Icon@2x.png rename to Tenniarb/Assets.xcassets/AppIcon.appiconset/Icon@2x.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/Contents.json b/Tenniarb/Assets.xcassets/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/Contents.json rename to Tenniarb/Assets.xcassets/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/Icon.iconset/icon_512x512.png b/Tenniarb/Assets.xcassets/Icon.iconset/icon_512x512.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/Icon.iconset/icon_512x512.png rename to Tenniarb/Assets.xcassets/Icon.iconset/icon_512x512.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/element_logo.imageset/Contents.json b/Tenniarb/Assets.xcassets/element_logo.imageset/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/element_logo.imageset/Contents.json rename to Tenniarb/Assets.xcassets/element_logo.imageset/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/element_logo.imageset/element_logo.png b/Tenniarb/Assets.xcassets/element_logo.imageset/element_logo.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/element_logo.imageset/element_logo.png rename to Tenniarb/Assets.xcassets/element_logo.imageset/element_logo.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/element_logo_white.imageset/Contents.json b/Tenniarb/Assets.xcassets/element_logo_white.imageset/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/element_logo_white.imageset/Contents.json rename to Tenniarb/Assets.xcassets/element_logo_white.imageset/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/element_logo_white.imageset/element_logo_white.png b/Tenniarb/Assets.xcassets/element_logo_white.imageset/element_logo_white.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/element_logo_white.imageset/element_logo_white.png rename to Tenniarb/Assets.xcassets/element_logo_white.imageset/element_logo_white.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/html_logo.imageset/Contents.json b/Tenniarb/Assets.xcassets/html_logo.imageset/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/html_logo.imageset/Contents.json rename to Tenniarb/Assets.xcassets/html_logo.imageset/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/html_logo.imageset/html_logo.png b/Tenniarb/Assets.xcassets/html_logo.imageset/html_logo.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/html_logo.imageset/html_logo.png rename to Tenniarb/Assets.xcassets/html_logo.imageset/html_logo.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/ico-component.imageset/Contents.json b/Tenniarb/Assets.xcassets/ico-component.imageset/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/ico-component.imageset/Contents.json rename to Tenniarb/Assets.xcassets/ico-component.imageset/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/ico-component.imageset/ico-component.png b/Tenniarb/Assets.xcassets/ico-component.imageset/ico-component.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/ico-component.imageset/ico-component.png rename to Tenniarb/Assets.xcassets/ico-component.imageset/ico-component.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/ico-group.imageset/Contents.json b/Tenniarb/Assets.xcassets/ico-group.imageset/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/ico-group.imageset/Contents.json rename to Tenniarb/Assets.xcassets/ico-group.imageset/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/ico-group.imageset/ico-group.png b/Tenniarb/Assets.xcassets/ico-group.imageset/ico-group.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/ico-group.imageset/ico-group.png rename to Tenniarb/Assets.xcassets/ico-group.imageset/ico-group.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/json_logo.imageset/Contents.json b/Tenniarb/Assets.xcassets/json_logo.imageset/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/json_logo.imageset/Contents.json rename to Tenniarb/Assets.xcassets/json_logo.imageset/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/json_logo.imageset/json_logo.png b/Tenniarb/Assets.xcassets/json_logo.imageset/json_logo.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/json_logo.imageset/json_logo.png rename to Tenniarb/Assets.xcassets/json_logo.imageset/json_logo.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/minus.imageset/Contents.json b/Tenniarb/Assets.xcassets/minus.imageset/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/minus.imageset/Contents.json rename to Tenniarb/Assets.xcassets/minus.imageset/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/minus.imageset/minus.png b/Tenniarb/Assets.xcassets/minus.imageset/minus.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/minus.imageset/minus.png rename to Tenniarb/Assets.xcassets/minus.imageset/minus.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/pdf_logo.imageset/Contents.json b/Tenniarb/Assets.xcassets/pdf_logo.imageset/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/pdf_logo.imageset/Contents.json rename to Tenniarb/Assets.xcassets/pdf_logo.imageset/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/pdf_logo.imageset/pdf_logo.png b/Tenniarb/Assets.xcassets/pdf_logo.imageset/pdf_logo.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/pdf_logo.imageset/pdf_logo.png rename to Tenniarb/Assets.xcassets/pdf_logo.imageset/pdf_logo.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/plus.imageset/Contents.json b/Tenniarb/Assets.xcassets/plus.imageset/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/plus.imageset/Contents.json rename to Tenniarb/Assets.xcassets/plus.imageset/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/plus.imageset/plus.png b/Tenniarb/Assets.xcassets/plus.imageset/plus.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/plus.imageset/plus.png rename to Tenniarb/Assets.xcassets/plus.imageset/plus.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/png_logo.imageset/Contents.json b/Tenniarb/Assets.xcassets/png_logo.imageset/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/png_logo.imageset/Contents.json rename to Tenniarb/Assets.xcassets/png_logo.imageset/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/png_logo.imageset/png_logo.png b/Tenniarb/Assets.xcassets/png_logo.imageset/png_logo.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/png_logo.imageset/png_logo.png rename to Tenniarb/Assets.xcassets/png_logo.imageset/png_logo.png diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/small_logo_white.imageset/Contents.json b/Tenniarb/Assets.xcassets/small_logo_white.imageset/Contents.json similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/small_logo_white.imageset/Contents.json rename to Tenniarb/Assets.xcassets/small_logo_white.imageset/Contents.json diff --git a/sources/macos/Tenniarb/Tenniarb/Assets.xcassets/small_logo_white.imageset/small_logo_white.png b/Tenniarb/Assets.xcassets/small_logo_white.imageset/small_logo_white.png similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Assets.xcassets/small_logo_white.imageset/small_logo_white.png rename to Tenniarb/Assets.xcassets/small_logo_white.imageset/small_logo_white.png diff --git a/sources/macos/Tenniarb/Tenniarb/Base.lproj/Main.storyboard b/Tenniarb/Base.lproj/Main.storyboard similarity index 99% rename from sources/macos/Tenniarb/Tenniarb/Base.lproj/Main.storyboard rename to Tenniarb/Base.lproj/Main.storyboard index 6cf7a34..7f02d0e 100644 --- a/sources/macos/Tenniarb/Tenniarb/Base.lproj/Main.storyboard +++ b/Tenniarb/Base.lproj/Main.storyboard @@ -404,7 +404,7 @@ DQ - + @@ -523,15 +523,15 @@ DQ - + - - + + - + @@ -598,7 +598,7 @@ DQ - + @@ -614,18 +614,18 @@ DQ - + - + - + - + @@ -637,7 +637,7 @@ DQ @@ -1030,13 +1030,13 @@ DQ - + - + - + @@ -1068,13 +1068,13 @@ DQ - + - + - + @@ -1170,7 +1170,7 @@ DQ - + diff --git a/sources/macos/Tenniarb/Tenniarb/ColorNames.swift b/Tenniarb/ColorNames.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/ColorNames.swift rename to Tenniarb/ColorNames.swift diff --git a/sources/macos/Tenniarb/Tenniarb/ElementPersistence.swift b/Tenniarb/ElementPersistence.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/ElementPersistence.swift rename to Tenniarb/ElementPersistence.swift diff --git a/sources/macos/Tenniarb/Tenniarb/ElementScene.swift b/Tenniarb/ElementScene.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/ElementScene.swift rename to Tenniarb/ElementScene.swift diff --git a/sources/macos/Tenniarb/Tenniarb/Experiments/SceneDraw3D.swift b/Tenniarb/Experiments/SceneDraw3D.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Experiments/SceneDraw3D.swift rename to Tenniarb/Experiments/SceneDraw3D.swift diff --git a/sources/macos/Tenniarb/Tenniarb/Info.plist b/Tenniarb/Info.plist similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Info.plist rename to Tenniarb/Info.plist diff --git a/sources/macos/Tenniarb/Tenniarb/Outline-ViewController-Extension.swift b/Tenniarb/Outline-ViewController-Extension.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Outline-ViewController-Extension.swift rename to Tenniarb/Outline-ViewController-Extension.swift diff --git a/sources/macos/Tenniarb/Tenniarb/Preview Content/DemoData.swift b/Tenniarb/Preview Content/DemoData.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Preview Content/DemoData.swift rename to Tenniarb/Preview Content/DemoData.swift diff --git a/sources/macos/Tenniarb/Tenniarb/SceneDrawView.swift b/Tenniarb/SceneDrawView.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/SceneDrawView.swift rename to Tenniarb/SceneDrawView.swift diff --git a/sources/macos/Tenniarb/Tenniarb/SceneMath.swift b/Tenniarb/SceneMath.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/SceneMath.swift rename to Tenniarb/SceneMath.swift diff --git a/sources/macos/Tenniarb/Tenniarb/SroreKitConfiguration.storekit b/Tenniarb/SroreKitConfiguration.storekit similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/SroreKitConfiguration.storekit rename to Tenniarb/SroreKitConfiguration.storekit diff --git a/sources/macos/Tenniarb/Tenniarb/TennIco.icns b/Tenniarb/TennIco.icns similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/TennIco.icns rename to Tenniarb/TennIco.icns diff --git a/sources/macos/Tenniarb/Tenniarb/Tenniarb.entitlements b/Tenniarb/Tenniarb.entitlements similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Tenniarb.entitlements rename to Tenniarb/Tenniarb.entitlements diff --git a/sources/macos/Tenniarb/Tenniarb/TextPropertiesDelegate.swift b/Tenniarb/TextPropertiesDelegate.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/TextPropertiesDelegate.swift rename to Tenniarb/TextPropertiesDelegate.swift diff --git a/sources/macos/Tenniarb/Tenniarb/Utils/ClipboardUtils.swift b/Tenniarb/Utils/ClipboardUtils.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Utils/ClipboardUtils.swift rename to Tenniarb/Utils/ClipboardUtils.swift diff --git a/sources/macos/Tenniarb/Tenniarb/Utils/ColorUtils.swift b/Tenniarb/Utils/ColorUtils.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Utils/ColorUtils.swift rename to Tenniarb/Utils/ColorUtils.swift diff --git a/sources/macos/Tenniarb/Tenniarb/Utils/ImageUtils.swift b/Tenniarb/Utils/ImageUtils.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/Utils/ImageUtils.swift rename to Tenniarb/Utils/ImageUtils.swift diff --git a/sources/macos/Tenniarb/Tenniarb/ViewController.swift b/Tenniarb/ViewController.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/ViewController.swift rename to Tenniarb/ViewController.swift diff --git a/sources/macos/Tenniarb/Tenniarb/WindowController.swift b/Tenniarb/WindowController.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/WindowController.swift rename to Tenniarb/WindowController.swift diff --git a/sources/macos/Tenniarb/Tenniarb/WordsView.swift b/Tenniarb/WordsView.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/WordsView.swift rename to Tenniarb/WordsView.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/Document.swift b/Tenniarb/document/Document.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/Document.swift rename to Tenniarb/document/Document.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/extensions/SyncExtension.swift b/Tenniarb/document/extensions/SyncExtension.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/extensions/SyncExtension.swift rename to Tenniarb/document/extensions/SyncExtension.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/layout/GridLayout.swift b/Tenniarb/document/layout/GridLayout.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/layout/GridLayout.swift rename to Tenniarb/document/layout/GridLayout.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/layout/LayoutBase.swift b/Tenniarb/document/layout/LayoutBase.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/layout/LayoutBase.swift rename to Tenniarb/document/layout/LayoutBase.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/layout/SpringLayout.swift b/Tenniarb/document/layout/SpringLayout.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/layout/SpringLayout.swift rename to Tenniarb/document/layout/SpringLayout.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/layout/TreeLayout.swift b/Tenniarb/document/layout/TreeLayout.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/layout/TreeLayout.swift rename to Tenniarb/document/layout/TreeLayout.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/markdown/MarkdownParser.swift b/Tenniarb/document/markdown/MarkdownParser.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/markdown/MarkdownParser.swift rename to Tenniarb/document/markdown/MarkdownParser.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/markdown/MarkdownPrinter.swift b/Tenniarb/document/markdown/MarkdownPrinter.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/markdown/MarkdownPrinter.swift rename to Tenniarb/document/markdown/MarkdownPrinter.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/tenn/AttributedPrinter.swift b/Tenniarb/document/tenn/AttributedPrinter.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/tenn/AttributedPrinter.swift rename to Tenniarb/document/tenn/AttributedPrinter.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/tenn/SlowLexer.swift b/Tenniarb/document/tenn/SlowLexer.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/tenn/SlowLexer.swift rename to Tenniarb/document/tenn/SlowLexer.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/tenn/TennLexer.swift b/Tenniarb/document/tenn/TennLexer.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/tenn/TennLexer.swift rename to Tenniarb/document/tenn/TennLexer.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/tenn/TennLexerModel.swift b/Tenniarb/document/tenn/TennLexerModel.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/tenn/TennLexerModel.swift rename to Tenniarb/document/tenn/TennLexerModel.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/tenn/TennModel.swift b/Tenniarb/document/tenn/TennModel.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/tenn/TennModel.swift rename to Tenniarb/document/tenn/TennModel.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/tenn/TennParser.swift b/Tenniarb/document/tenn/TennParser.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/tenn/TennParser.swift rename to Tenniarb/document/tenn/TennParser.swift diff --git a/sources/macos/Tenniarb/Tenniarb/document/tenn/TennPrinter.swift b/Tenniarb/document/tenn/TennPrinter.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/document/tenn/TennPrinter.swift rename to Tenniarb/document/tenn/TennPrinter.swift diff --git a/sources/macos/Tenniarb/Tenniarb/mainView.swift b/Tenniarb/mainView.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/mainView.swift rename to Tenniarb/mainView.swift diff --git a/sources/macos/Tenniarb/Tenniarb/model/ElementModel.swift b/Tenniarb/model/ElementModel.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/model/ElementModel.swift rename to Tenniarb/model/ElementModel.swift diff --git a/sources/macos/Tenniarb/Tenniarb/model/ElementOperations.swift b/Tenniarb/model/ElementOperations.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/model/ElementOperations.swift rename to Tenniarb/model/ElementOperations.swift diff --git a/sources/macos/Tenniarb/Tenniarb/model/ElementProperties.swift b/Tenniarb/model/ElementProperties.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/model/ElementProperties.swift rename to Tenniarb/model/ElementProperties.swift diff --git a/sources/macos/Tenniarb/Tenniarb/model/ExecutionModel.swift b/Tenniarb/model/ExecutionModel.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/model/ExecutionModel.swift rename to Tenniarb/model/ExecutionModel.swift diff --git a/sources/macos/Tenniarb/Tenniarb/views/ExportManager.swift b/Tenniarb/views/ExportManager.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/views/ExportManager.swift rename to Tenniarb/views/ExportManager.swift diff --git a/sources/macos/Tenniarb/Tenniarb/views/HelpController.swift b/Tenniarb/views/HelpController.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/views/HelpController.swift rename to Tenniarb/views/HelpController.swift diff --git a/sources/macos/Tenniarb/Tenniarb/views/OperationController.swift b/Tenniarb/views/OperationController.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/views/OperationController.swift rename to Tenniarb/views/OperationController.swift diff --git a/sources/macos/Tenniarb/Tenniarb/views/PreferencesController.swift b/Tenniarb/views/PreferencesController.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/views/PreferencesController.swift rename to Tenniarb/views/PreferencesController.swift diff --git a/sources/macos/Tenniarb/Tenniarb/views/ResourcesViewController.swift b/Tenniarb/views/ResourcesViewController.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/views/ResourcesViewController.swift rename to Tenniarb/views/ResourcesViewController.swift diff --git a/sources/macos/Tenniarb/Tenniarb/views/SearchBoxController.swift b/Tenniarb/views/SearchBoxController.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/views/SearchBoxController.swift rename to Tenniarb/views/SearchBoxController.swift diff --git a/sources/macos/Tenniarb/Tenniarb/views/SourcePopoverViewController.swift b/Tenniarb/views/SourcePopoverViewController.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/views/SourcePopoverViewController.swift rename to Tenniarb/views/SourcePopoverViewController.swift diff --git a/sources/macos/Tenniarb/Tenniarb/views/StyleManager.swift b/Tenniarb/views/StyleManager.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/views/StyleManager.swift rename to Tenniarb/views/StyleManager.swift diff --git a/sources/macos/Tenniarb/Tenniarb/views/SyncViewController.swift b/Tenniarb/views/SyncViewController.swift similarity index 100% rename from sources/macos/Tenniarb/Tenniarb/views/SyncViewController.swift rename to Tenniarb/views/SyncViewController.swift diff --git a/sources/macos/Tenniarb/TenniarbTests/Info.plist b/TenniarbTests/Info.plist similarity index 100% rename from sources/macos/Tenniarb/TenniarbTests/Info.plist rename to TenniarbTests/Info.plist diff --git a/sources/macos/Tenniarb/TenniarbTests/MarkDownTests.swift b/TenniarbTests/MarkDownTests.swift similarity index 100% rename from sources/macos/Tenniarb/TenniarbTests/MarkDownTests.swift rename to TenniarbTests/MarkDownTests.swift diff --git a/sources/macos/Tenniarb/TenniarbTests/PerformanceTests.swift b/TenniarbTests/PerformanceTests.swift similarity index 100% rename from sources/macos/Tenniarb/TenniarbTests/PerformanceTests.swift rename to TenniarbTests/PerformanceTests.swift diff --git a/sources/macos/Tenniarb/TenniarbTests/PersistenceTests.swift b/TenniarbTests/PersistenceTests.swift similarity index 100% rename from sources/macos/Tenniarb/TenniarbTests/PersistenceTests.swift rename to TenniarbTests/PersistenceTests.swift diff --git a/sources/macos/Tenniarb/TenniarbTests/SampleElementModels.swift b/TenniarbTests/SampleElementModels.swift similarity index 100% rename from sources/macos/Tenniarb/TenniarbTests/SampleElementModels.swift rename to TenniarbTests/SampleElementModels.swift diff --git a/sources/macos/Tenniarb/TenniarbTests/TennTests.swift b/TenniarbTests/TennTests.swift similarity index 100% rename from sources/macos/Tenniarb/TenniarbTests/TennTests.swift rename to TenniarbTests/TennTests.swift diff --git a/sources/macos/Tenniarb/TenniarbTests/TenniarbTests.swift b/TenniarbTests/TenniarbTests.swift similarity index 100% rename from sources/macos/Tenniarb/TenniarbTests/TenniarbTests.swift rename to TenniarbTests/TenniarbTests.swift diff --git a/sources/macos/Tenniarb/TenniarbTests/svh-generate/TestSVGGenerate.swift b/TenniarbTests/svh-generate/TestSVGGenerate.swift similarity index 100% rename from sources/macos/Tenniarb/TenniarbTests/svh-generate/TestSVGGenerate.swift rename to TenniarbTests/svh-generate/TestSVGGenerate.swift diff --git a/sources/macos/Tenniarb/TenniarbUITests/Info.plist b/TenniarbUITests/Info.plist similarity index 100% rename from sources/macos/Tenniarb/TenniarbUITests/Info.plist rename to TenniarbUITests/Info.plist diff --git a/sources/macos/Tenniarb/TenniarbUITests/TenniarbUITests.swift b/TenniarbUITests/TenniarbUITests.swift similarity index 100% rename from sources/macos/Tenniarb/TenniarbUITests/TenniarbUITests.swift rename to TenniarbUITests/TenniarbUITests.swift diff --git a/sources/macos/Tenniarb/docs/Changelog.md b/docs/Changelog.md similarity index 100% rename from sources/macos/Tenniarb/docs/Changelog.md rename to docs/Changelog.md diff --git a/sources/macos/Tenniarb/docs/Example.tenn b/docs/Example.tenn similarity index 100% rename from sources/macos/Tenniarb/docs/Example.tenn rename to docs/Example.tenn diff --git a/sources/macos/Tenniarb/docs/examples.md b/docs/examples.md similarity index 100% rename from sources/macos/Tenniarb/docs/examples.md rename to docs/examples.md diff --git a/sources/macos/Tenniarb/docs/readme.html b/docs/readme.html similarity index 100% rename from sources/macos/Tenniarb/docs/readme.html rename to docs/readme.html diff --git a/readme.md b/readme.md index e27a2d9..ccad9f1 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,613 @@ -# Overview +# Tenniarb - General information -Tenniarb - Net Brain Mapper. +Tenniarb is a diagram/modelling tool, capable of doing simple and complex diagraming, easy organize them into categories. Easy create and style them, and as benetit it has a powerfull JavaScript calculation engine embedded, so styling and diagraming become a real powerfull solution for any kind of fast modelling and prototyping. -Allow to model complex brain maps easy/fast/scalable and with pleasure. +Every item on diagram is an object with set of properties, some properties have influence on how item is displayed on diagram. Some properties are user defined data, properties could depend on calculations and other items and properties. +In general every item on diagram could be treated as a cell in electronic table, but it allow not just one formula to be used but to define any set of formal and properties to be used. + + +## First steps + +Tenniarb is multi window application, every window manage it own file on file system. Every file has plain text structure. + +Simple diagram content will look like: + +``` +element "Simple" { + item "Central" { + font-size 30 + marker "🎁" + } +} +``` + +Where `element` is describing a logic structure of diagram layers embedded one into another and `item` show individual items on diagram. Syntax is pretty easy to read and write by hands, it will be described in details in Syntax Section of this document. Language used to manage content of all element, items inside file are named Tenn. It was based on well known and old Tool Command Language(TCL) and have a clean and easy to use syntax. + +### Main screen + +Main window: + +![](./Images/general_info.png) + +Main window has following structural components: + +* Document logical structure: + + It allows to organise diagrams, and perform logical structure with basic operations of drag & drop, duplication and naming. + +* Diagram with items. + Support ordering items with links, styles for visual representation of ideas, structures and any kind of information required. + +* Properties pane. + + A textual representation of selected diagram, item with properties managed by Tenn language. + +### Creating and managing elements. + +There is few ways to create elements. + + + +* Using (+), (-) buttons on top of logical structure, will add child item to selected top level item or delete child item. All this operations are support undo & redo. + +* Drag & Drop - could be used to put items in right position and order. + +* Duplicate - could be used for duplicate selected layer of diageam for perform some changes and see differences. + + +### Creating and managing items on diagram layer. + +Item is a key point element of any diagram, it represent structure point of interest, it could contain any set of properties, properties could be groupped and represent a tree structured document. Main property of every item its his `name`. But name is not uniq representation so it could be multiple items with same name. + +Item positioned on diagram using `pos x y` property. +On every selected layer items could be managed using items main panel. +After layer is selected we could use selection, modification and addition of new items. + +Adding new items to diagram layer: + + + + + + + + + + + + + + + + + + + + + + +
Pressing 'Tab' key on keyboard will add new item and link it with selected item.
Pressing 'Option + Tab' key on keyboard will add new item, link it with selected item and copy styles from selected item. +
Pressing 'Command + D' key on keyboard will duplicate selected item and it incoming links, it could be used to easy create more linked items for brain maps.
Clicking '(+)' button on top of items layer, will add item item and link it with selected item.
+Using context menu: +
    +
  1. New item - Add new top level item.
  2. +
  3. New linked item - Add new linked item to selected one.
  4. +
  5. Linked styled item - Add new linked item with copy of styles to selected one.
  6. +
  7. Style - use or define new style.
  8. +
  9. Duplicate - dupliate selected item with incoming links.
  10. +
  11. Delete - delete current selected items.
  12. +
+
+ + +## Styling + +Items on diagram could be styled via properties and via defined layer styles. +Tenniarb support following item styles to define different look: + + + + + + + + + + + + + + + + + + + + + +
Styling items
Popup toolbar could be used for fast apply for basic display, color,font size, line width and marker fields. +
+Quick edit bar (press 'Space' on item) could be used for fast editing of multiple properties. Use ';' as separator. Use of '-command' syntax will remove property from lit of item properties. This feature works for all selected items.
All styles could be editing using textual representation in Tell language format. More details will be in Styling secrtion of this document. +
Corner radious could be changed for items with + corner-radius 5 15 5 15 + +
+ + +### Colors + +#### Item Background and color in general +Colors could be defined with following style property: +``` +color red // named color +color #ffeeff // Full RGB color in hex. +text-color red // Define only text color. +``` + +Also it is included easy set of usefull colors based on this table + +![](./Images/color-table.png) + +By passing `color name-variant` it is possible to easy define different color values. Ex: 'color red-500', 'color green-200'. + +#### Text color + +By default text color are selected to be in contrast with background for best viewing experience. So this would work well with Dark theme as well. + +Text color could be configured using property `text-color` + +``` +text-color blue +``` + + + + + + + + + +
Default mode: Dark mode:
+ + +Background and text color by default will be automaticcaly ajusted to fit into selected user theme. + +#### Title/Body/value properties. + +Every item on layer could be labeled by title and could have additional body/value fields, if body is defined it will be shown udner title, and title will be on left of item. + +By default `title` field uses name of item on layer. So it could be used without specificatio for most of situations. But could be changed, also `title` in compare to name support variable substituions and scripting. + +`Value` property could be used inside body and title using `${value}` syntax, and could be easy edited using keyboard shortcuts or menu. + + + + + + + + + + + + + + + + + + + + + + + +
Variant 1Define via + body str property Or body %{}
for multi line variant.
Variant 2Define via body block with text property inside. +

+body {
+    text "body text"
+    text-color red
+}
+    
+ Styling properties line color, text-color,font-size,
etc are supported for individual title and body. +
Variant 3Use title "My title ${parent.items.length}"
to show number of all items on layer with JS code.
Variant 4 + Use multi line body +

+body {
+    text %{
+        body text
+        body line 2
+    }
+    text-color red
+}
+    
+
Title and body could be edited by using context menu or keyboard shortcuts. + +
+ +#### Font size and body font size. + +Item/Body font size could be configured via `font-size` property. + + + + + + + + + + + + + + + + + + + + + + + +
+ +
Variant 1: +
font-size 18
+
Default title font are 18 and body font size is font-size - 2 points.
Variant 2: +

+font-size 10
+body {
+    text "Body text - 30"
+    font-size 30
+}
+
+
Both title and body fonts are changed.
Variant 3: +
font-size 10
+
Title font are changed.
Variant 4: +
font-size 30
+
Title font are changed.
Line spacing +
line-spacing 11
+
+ +
+ + +In all situations boundaries of item are calculated to fit both title and body. + +#### Width/Height properties. + +Bundaries of items could be changed by defining `width` and `height` properties. + + + + + + + + + + + + + + + +
+ +
Variant 1:width 50
+ If text is not fit into width it will be clipped on bounds of item. +
Variant 2:width 150
Variant 3: +

+name "AAA"
+width ${utils.textWidth(name)*2}
+height ${width}
+    
+ This variant uses utils object to calculate text size and multiple it two times, and set both width and height to same values.
+ Be aware of using non static calculations on width/height since properties calculation could be cycled, only limited number of cyclec will be executed to have stable final results. +
+ +#### Display property. + +Items on layer could have a different look. + + + + + + + + + + + + + + + + + + + + + + + +
+ +
Variant 1
+Default or display=rect +
This variant is suitable for most of brain maps and other situations.
Variant 2
+display no-fill +
a variable without background filling.
Variant 3
+display circle +
a display of Eclipse/Circle. based on width and height of rect.
It would be required to specify width and height properties to have a proper fit of text inside.
Variant 4
+display stack +
a rect with stack line display.
Variant 5
+display text +
+a usefull for writing some text descriptions and formatted text areas. A full markdown syntax is planed for one of upcoming versions of product and could be specified via
body %{markdown} or title %{markdown} +
+ +### Layout property. + + + + + +
+Layout could be used to define how text is diplayed: + +Supported following valyes of layout property: + +* left - display text on left +* center - diplay on center +* right - display on right +* middle - use middle layout +* top - on top +* bottom - on bottom +* fill - use all vertical space + +Property could be specified on top level and for body. + + +
+ +### Reusable styles +Every layer support it's own defined styles, this styles could be used to define look of items. + +They are defined on layer item `styles` +``` +styles { + annotation { + color gray-400 + font-size 12 + shadow 5 -5 5 + } +} +``` + +Every named group under styles are treaded as different style and could be applied to items. +Using `use-style` property. + + + +Also it is accessible via context menu: + + +This context menu also allow to define more styles. +On clicking to `Define new style` selection will switch to layer itself and add new item with counted name. + +## Connections/Links + +Every two items on diagram layer could be linked together by line reference. Source and target parts of line are always items, so links are drawn from source to target. + +* How to add links: + * By creation, using linked item. + * By holding `ctrl` key and dragging from one item to another. + +Links could also have some styles: + + + + + + + + + + + + + + + + + + + + + + + + + +
1. regular linksdrawn by default. + +
2. display arrowdraws arrow on target side.
3. display arrowsdraws arrows on both sides.
4 line-style dasheddraw line dashed.
5 line-style dotteddraw lines with dots.
6 line-width 2 control width of line.
7 layout quad Quad bezie line style
+ +Every line could be split and corrected by dragging line, it will add a `pos x y` property to controll offset from line central point, so this point will be moved every time line source/target will be moven. + +## Line styles. + +Line styles also could be applied to items. + + + + +* `line-style dashed` draw line dashed. +* `line-style dotted` draw lines with dots. +* `line-width 2` control width of line. + + +## Markdown support. + +Since 1.1 Tenniab support basic markdown syntax in name/title/body fields. + +To display bold, italic and colored values. Also now it support embedded images. + +Supported Markdown styles: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+Bold style
+name "Text is *bold*"
+
+
+
+Italic
+name "Text is _italic_"
+
+
+
+Under line
+name "Text is "
+
+
+
+Code block
+name "Text is `code`"
+
+
+
+Scratches
+name "Text is ~scratchs~"
+
+
+
+Color selection
+name "Color !(red)RED and !() black"
+
+
+
+Color word selection
+name "Color !(red|RED) and !(blue|blue)"
+
+
+
+Font word selection
+name "Font is &(30)!(red|RED)code &()size"
+
+
+ +
+Topics
+title %{
+    # 1. Topic
+    and value. Some text is here.
+    # 2. Topic
+    and value2. Some more text is here.
+}
+
+
+
+ +# Image attachments support + +Since 1.1 Tenniarb support inline image attachments. + +1. Attach image using context menu. + + +2. Copy and paste image from browser. + + +3. Use images. + + +Images could be inserted using syntax +``` +@(image_name|[width][x][height]) +``` +With optional size constrains: +* 300 - width with aspect ration preserved +* x300 - just height with aspect ratio preserved +* 200x300 - both width and height specified. + +Images at this version could be used only from same item as attached. + + +# Advanced details. + +## Tenn language reference. + +Language is based on well known and easy to use TCL (Tool command language) it has concept of command and arguments. Every command could have unlimited number of arguments, arguments could be identifiers, numbers, strings and block of commands. Argument in '{' '}' are treated as block of commands. + +Simple example of tenn language file: +``` +item "my item" { + cmd1 1 + cmd2 1.1 +} +``` + +So `item` is command with 2 arguments, String argument "my item" and block of commands arguments. + +Every document in Tenniarb are tree of `element`'s represent outline structure of diagram layers. Every element could have child elements and `items` and `link` to represent items on diagram layer. So every touchable element of layer is `item`. `link`'s represent connections between different items. + +Types of arguments: + +* Identifier - a word without spaces containing characters/digits and set of special characters `-_.`. Command names are identifiers. +* String - a word between string start/end symbopls " or ' could be used. String support `${...}` JavaScript embeddings. String could be joined with `"abc" + "bce"` and be on different lines. Any `${expr}` inside string are interpreter via java script expressions. +String support `\c` escaping. +* Number - a decimal values `123` not containing . and other characters and symbols. +* Float - a decimal `.` decimal value. +* Comment - a sequence starting with // and ending of end of line. +* CComment - `/* ... */` - c style comments. +* Expressions - `${...}` `$(...)` - inner text of this expressions are interpreterd with JavaScript language. +* Markdown block - `%{...}` is interpreted as text block with multi line structure, could be highlighted and interpreterd as markdown markup. +* Command separator - `;` could be used as command separator within single line. + +(!) All comments are fully removed at this versions of application during save and load. diff --git a/sources/macos/.DS_Store b/sources/macos/.DS_Store index ee8b2cc..56c5481 100644 Binary files a/sources/macos/.DS_Store and b/sources/macos/.DS_Store differ diff --git a/sources/macos/Tenniarb/.DS_Store b/sources/macos/Tenniarb/.DS_Store index 952be3d..8e52906 100644 Binary files a/sources/macos/Tenniarb/.DS_Store and b/sources/macos/Tenniarb/.DS_Store differ diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/UserInterfaceState.xcuserstate b/sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index f5f1b5c..0000000 Binary files a/sources/macos/Tenniarb/Tenniarb.xcodeproj/project.xcworkspace/xcuserdata/haiodo.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/sources/macos/Tenniarb/Tenniarb.xcodeproj/xcuserdata/haiodo.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/sources/macos/Tenniarb/Tenniarb.xcodeproj/xcuserdata/haiodo.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist deleted file mode 100644 index 37cb891..0000000 --- a/sources/macos/Tenniarb/Tenniarb.xcodeproj/xcuserdata/haiodo.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ /dev/null @@ -1,408 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sources/macos/Tenniarb/docs/readme.md b/sources/macos/Tenniarb/docs/readme.md deleted file mode 100644 index ccad9f1..0000000 --- a/sources/macos/Tenniarb/docs/readme.md +++ /dev/null @@ -1,613 +0,0 @@ -# Tenniarb - General information - -Tenniarb is a diagram/modelling tool, capable of doing simple and complex diagraming, easy organize them into categories. Easy create and style them, and as benetit it has a powerfull JavaScript calculation engine embedded, so styling and diagraming become a real powerfull solution for any kind of fast modelling and prototyping. - -Every item on diagram is an object with set of properties, some properties have influence on how item is displayed on diagram. Some properties are user defined data, properties could depend on calculations and other items and properties. - -In general every item on diagram could be treated as a cell in electronic table, but it allow not just one formula to be used but to define any set of formal and properties to be used. - - -## First steps - -Tenniarb is multi window application, every window manage it own file on file system. Every file has plain text structure. - -Simple diagram content will look like: - -``` -element "Simple" { - item "Central" { - font-size 30 - marker "🎁" - } -} -``` - -Where `element` is describing a logic structure of diagram layers embedded one into another and `item` show individual items on diagram. Syntax is pretty easy to read and write by hands, it will be described in details in Syntax Section of this document. Language used to manage content of all element, items inside file are named Tenn. It was based on well known and old Tool Command Language(TCL) and have a clean and easy to use syntax. - -### Main screen - -Main window: - -![](./Images/general_info.png) - -Main window has following structural components: - -* Document logical structure: - - It allows to organise diagrams, and perform logical structure with basic operations of drag & drop, duplication and naming. - -* Diagram with items. - Support ordering items with links, styles for visual representation of ideas, structures and any kind of information required. - -* Properties pane. - - A textual representation of selected diagram, item with properties managed by Tenn language. - -### Creating and managing elements. - -There is few ways to create elements. - - - -* Using (+), (-) buttons on top of logical structure, will add child item to selected top level item or delete child item. All this operations are support undo & redo. - -* Drag & Drop - could be used to put items in right position and order. - -* Duplicate - could be used for duplicate selected layer of diageam for perform some changes and see differences. - - -### Creating and managing items on diagram layer. - -Item is a key point element of any diagram, it represent structure point of interest, it could contain any set of properties, properties could be groupped and represent a tree structured document. Main property of every item its his `name`. But name is not uniq representation so it could be multiple items with same name. - -Item positioned on diagram using `pos x y` property. -On every selected layer items could be managed using items main panel. -After layer is selected we could use selection, modification and addition of new items. - -Adding new items to diagram layer: - - - - - - - - - - - - - - - - - - - - - - -
Pressing 'Tab' key on keyboard will add new item and link it with selected item.
Pressing 'Option + Tab' key on keyboard will add new item, link it with selected item and copy styles from selected item. -
Pressing 'Command + D' key on keyboard will duplicate selected item and it incoming links, it could be used to easy create more linked items for brain maps.
Clicking '(+)' button on top of items layer, will add item item and link it with selected item.
-Using context menu: -
    -
  1. New item - Add new top level item.
  2. -
  3. New linked item - Add new linked item to selected one.
  4. -
  5. Linked styled item - Add new linked item with copy of styles to selected one.
  6. -
  7. Style - use or define new style.
  8. -
  9. Duplicate - dupliate selected item with incoming links.
  10. -
  11. Delete - delete current selected items.
  12. -
-
- - -## Styling - -Items on diagram could be styled via properties and via defined layer styles. -Tenniarb support following item styles to define different look: - - - - - - - - - - - - - - - - - - - - - -
Styling items
Popup toolbar could be used for fast apply for basic display, color,font size, line width and marker fields. -
-Quick edit bar (press 'Space' on item) could be used for fast editing of multiple properties. Use ';' as separator. Use of '-command' syntax will remove property from lit of item properties. This feature works for all selected items.
All styles could be editing using textual representation in Tell language format. More details will be in Styling secrtion of this document. -
Corner radious could be changed for items with - corner-radius 5 15 5 15 - -
- - -### Colors - -#### Item Background and color in general -Colors could be defined with following style property: -``` -color red // named color -color #ffeeff // Full RGB color in hex. -text-color red // Define only text color. -``` - -Also it is included easy set of usefull colors based on this table - -![](./Images/color-table.png) - -By passing `color name-variant` it is possible to easy define different color values. Ex: 'color red-500', 'color green-200'. - -#### Text color - -By default text color are selected to be in contrast with background for best viewing experience. So this would work well with Dark theme as well. - -Text color could be configured using property `text-color` - -``` -text-color blue -``` - - - - - - - - - -
Default mode: Dark mode:
- - -Background and text color by default will be automaticcaly ajusted to fit into selected user theme. - -#### Title/Body/value properties. - -Every item on layer could be labeled by title and could have additional body/value fields, if body is defined it will be shown udner title, and title will be on left of item. - -By default `title` field uses name of item on layer. So it could be used without specificatio for most of situations. But could be changed, also `title` in compare to name support variable substituions and scripting. - -`Value` property could be used inside body and title using `${value}` syntax, and could be easy edited using keyboard shortcuts or menu. - - - - - - - - - - - - - - - - - - - - - - - -
Variant 1Define via - body str property Or body %{}
for multi line variant.
Variant 2Define via body block with text property inside. -

-body {
-    text "body text"
-    text-color red
-}
-    
- Styling properties line color, text-color,font-size,
etc are supported for individual title and body. -
Variant 3Use title "My title ${parent.items.length}"
to show number of all items on layer with JS code.
Variant 4 - Use multi line body -

-body {
-    text %{
-        body text
-        body line 2
-    }
-    text-color red
-}
-    
-
Title and body could be edited by using context menu or keyboard shortcuts. - -
- -#### Font size and body font size. - -Item/Body font size could be configured via `font-size` property. - - - - - - - - - - - - - - - - - - - - - - - -
- -
Variant 1: -
font-size 18
-
Default title font are 18 and body font size is font-size - 2 points.
Variant 2: -

-font-size 10
-body {
-    text "Body text - 30"
-    font-size 30
-}
-
-
Both title and body fonts are changed.
Variant 3: -
font-size 10
-
Title font are changed.
Variant 4: -
font-size 30
-
Title font are changed.
Line spacing -
line-spacing 11
-
- -
- - -In all situations boundaries of item are calculated to fit both title and body. - -#### Width/Height properties. - -Bundaries of items could be changed by defining `width` and `height` properties. - - - - - - - - - - - - - - - -
- -
Variant 1:width 50
- If text is not fit into width it will be clipped on bounds of item. -
Variant 2:width 150
Variant 3: -

-name "AAA"
-width ${utils.textWidth(name)*2}
-height ${width}
-    
- This variant uses utils object to calculate text size and multiple it two times, and set both width and height to same values.
- Be aware of using non static calculations on width/height since properties calculation could be cycled, only limited number of cyclec will be executed to have stable final results. -
- -#### Display property. - -Items on layer could have a different look. - - - - - - - - - - - - - - - - - - - - - - - -
- -
Variant 1
-Default or display=rect -
This variant is suitable for most of brain maps and other situations.
Variant 2
-display no-fill -
a variable without background filling.
Variant 3
-display circle -
a display of Eclipse/Circle. based on width and height of rect.
It would be required to specify width and height properties to have a proper fit of text inside.
Variant 4
-display stack -
a rect with stack line display.
Variant 5
-display text -
-a usefull for writing some text descriptions and formatted text areas. A full markdown syntax is planed for one of upcoming versions of product and could be specified via
body %{markdown} or title %{markdown} -
- -### Layout property. - - - - - -
-Layout could be used to define how text is diplayed: - -Supported following valyes of layout property: - -* left - display text on left -* center - diplay on center -* right - display on right -* middle - use middle layout -* top - on top -* bottom - on bottom -* fill - use all vertical space - -Property could be specified on top level and for body. - - -
- -### Reusable styles -Every layer support it's own defined styles, this styles could be used to define look of items. - -They are defined on layer item `styles` -``` -styles { - annotation { - color gray-400 - font-size 12 - shadow 5 -5 5 - } -} -``` - -Every named group under styles are treaded as different style and could be applied to items. -Using `use-style` property. - - - -Also it is accessible via context menu: - - -This context menu also allow to define more styles. -On clicking to `Define new style` selection will switch to layer itself and add new item with counted name. - -## Connections/Links - -Every two items on diagram layer could be linked together by line reference. Source and target parts of line are always items, so links are drawn from source to target. - -* How to add links: - * By creation, using linked item. - * By holding `ctrl` key and dragging from one item to another. - -Links could also have some styles: - - - - - - - - - - - - - - - - - - - - - - - - - -
1. regular linksdrawn by default. - -
2. display arrowdraws arrow on target side.
3. display arrowsdraws arrows on both sides.
4 line-style dasheddraw line dashed.
5 line-style dotteddraw lines with dots.
6 line-width 2 control width of line.
7 layout quad Quad bezie line style
- -Every line could be split and corrected by dragging line, it will add a `pos x y` property to controll offset from line central point, so this point will be moved every time line source/target will be moven. - -## Line styles. - -Line styles also could be applied to items. - - - - -* `line-style dashed` draw line dashed. -* `line-style dotted` draw lines with dots. -* `line-width 2` control width of line. - - -## Markdown support. - -Since 1.1 Tenniab support basic markdown syntax in name/title/body fields. - -To display bold, italic and colored values. Also now it support embedded images. - -Supported Markdown styles: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-Bold style
-name "Text is *bold*"
-
-
-
-Italic
-name "Text is _italic_"
-
-
-
-Under line
-name "Text is "
-
-
-
-Code block
-name "Text is `code`"
-
-
-
-Scratches
-name "Text is ~scratchs~"
-
-
-
-Color selection
-name "Color !(red)RED and !() black"
-
-
-
-Color word selection
-name "Color !(red|RED) and !(blue|blue)"
-
-
-
-Font word selection
-name "Font is &(30)!(red|RED)code &()size"
-
-
- -
-Topics
-title %{
-    # 1. Topic
-    and value. Some text is here.
-    # 2. Topic
-    and value2. Some more text is here.
-}
-
-
-
- -# Image attachments support - -Since 1.1 Tenniarb support inline image attachments. - -1. Attach image using context menu. - - -2. Copy and paste image from browser. - - -3. Use images. - - -Images could be inserted using syntax -``` -@(image_name|[width][x][height]) -``` -With optional size constrains: -* 300 - width with aspect ration preserved -* x300 - just height with aspect ratio preserved -* 200x300 - both width and height specified. - -Images at this version could be used only from same item as attached. - - -# Advanced details. - -## Tenn language reference. - -Language is based on well known and easy to use TCL (Tool command language) it has concept of command and arguments. Every command could have unlimited number of arguments, arguments could be identifiers, numbers, strings and block of commands. Argument in '{' '}' are treated as block of commands. - -Simple example of tenn language file: -``` -item "my item" { - cmd1 1 - cmd2 1.1 -} -``` - -So `item` is command with 2 arguments, String argument "my item" and block of commands arguments. - -Every document in Tenniarb are tree of `element`'s represent outline structure of diagram layers. Every element could have child elements and `items` and `link` to represent items on diagram layer. So every touchable element of layer is `item`. `link`'s represent connections between different items. - -Types of arguments: - -* Identifier - a word without spaces containing characters/digits and set of special characters `-_.`. Command names are identifiers. -* String - a word between string start/end symbopls " or ' could be used. String support `${...}` JavaScript embeddings. String could be joined with `"abc" + "bce"` and be on different lines. Any `${expr}` inside string are interpreter via java script expressions. -String support `\c` escaping. -* Number - a decimal values `123` not containing . and other characters and symbols. -* Float - a decimal `.` decimal value. -* Comment - a sequence starting with // and ending of end of line. -* CComment - `/* ... */` - c style comments. -* Expressions - `${...}` `$(...)` - inner text of this expressions are interpreterd with JavaScript language. -* Markdown block - `%{...}` is interpreted as text block with multi line structure, could be highlighted and interpreterd as markdown markup. -* Command separator - `;` could be used as command separator within single line. - -(!) All comments are fully removed at this versions of application during save and load.