Giter VIP home page Giter VIP logo

icsharpcode.texteditor's Introduction

Git Extensions logo

Git Extensions

Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Studio (2015/2017/2019).

Have a question? Come and talk to us: Gitter or send us a tweet @git_extensions

Current Status

Next Version (build instructions)

ย  Windows only
Runtime environment MS Windows 7SP1+ // .NET 8.0 SDK
Development MS Visual Studio 2022 (v17.8+), C# 12 // VC++ (inc. ATL for x86/x64 for installer)
Current dev status Build status
Translations

Older versions

See build instructions

Downloads

Download it now or install it with Chocolatey or Winget.

If you want to update a portable version, you should delete all the files and the subfolders from the existing folder except:

  • GitExtensions.settings
  • WindowPositions.xml
  • User defined themes in folder Themes
Latest Release: v4.2.1 [ Download ]
Current dev stream
NB: expect ๐Ÿฆ„ ๐Ÿฆ„ and ๐Ÿ‰ ๐Ÿ‰
[ Download ]
Build status
Visual Studio VSIX (2022) [ Download ] or install from Visual Studio via Extensions
Visual Studio VSIX (2015/2017/2019) [ Download ] or install from Visual Studio via Extensions
Visual Studio addin (2010/2012/2013) Included with installer for the 2.x branch. Download and run setup.exe
Visual Studio Code VSIX
Kudos to @pmiossec
[ Download ] or install via VSCode
NB: Please direct all discussions about the VSIX to its own repo.
IntelliJ platform IDEs
Kudos to @DmitryZhelnin
[ Download ] or install via IDE Plugins settings
NB: Please direct all discussions about this plugin to its own repo.
Git Extensions for VS Code
Kudos to @Carl-Hugo

This extension allows users to Browse with Git Extensions from the Explorer and the Editor. It supports a single folder and workspaces. Nothing fancier.

[ Download ] from the Marketplace or install via VS Code
NB: Please direct all discussions about this extension to its own repo.

Conduct

Project maintainers pledge to foster an open and welcoming environment, and ask contributors to do the same.

For more information see our code of conduct.

Shoutouts

Backers

Thank you to all our backers! ๐Ÿ™ [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Useful Links

icsharpcode.texteditor's People

Contributors

drewnoakes avatar gerhardol avatar jbialobr avatar kinddragon avatar lhiginbotham avatar mast-eu avatar mdonatas avatar mstv avatar nikolayxhd avatar philippe-miossec avatar pmiossec avatar prepare avatar russkie avatar thorium avatar unclevasya avatar vbjay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

icsharpcode.texteditor's Issues

Markdown preview in diff pane incorrectly renders italics for sections containing underscores

Environment

  • Git Extensions 4.2.1.17611
  • Build b0c0b284876b63c52c77195ada82a85bfadbb083
  • Git 2.43.0.windows.1
  • Microsoft Windows NT 10.0.22631.0
  • .NET 6.0.25
  • DPI 96dpi (no scaling)
  • Portable: False
  • Microsoft.WindowsDesktop.App Versions
    Microsoft.WindowsDesktop.App 5.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Issue description

When displaying the source of a markdown file in the Diff pane, sections enclosed in underscores or starting with underscores are incorrectly formatted in italics.

Example:

# sample database

## sample_table

| Column name            | Data type         |
|------------------------|-------------------|
| first_column           | INTEGER           |
| second_third_column    | INTEGER           |

image

Steps to reproduce

  1. Create a markdown file that includes underscores.
  2. Show the source code in the Diff pane.

Did this work in previous version of GitExtensions?

No response

Diagnostics

No response

Text editor not rendering tab character

Current behaviour

When rewording a commit using Git Extensions, I've found that tab characters are not rendering in the default text editor (though the characters do exist within the commit message and can be seen when doing git log).

Expected behaviour

The text editor should render whitespace whenever there are tab characters in the loaded document.

Steps to reproduce

  1. Go to a commit entry in the commit log in Git Extensions
  2. Right-click the commit entry > Advanced > Reword commit
  3. Edit the text of the commit and notice that adding tabs has no effect on the rendered text. For example, if you have a line with the text "abc" with your cursor between 'a' and 'b', pressing tab 3 times will do nothing, but you will need to press the Delete key 4 times in order to delete the 'a' character. This shows that the tab characters are being processed but just not rendered.

Screenshots

In the text editor, I put a tab between 'w' and 'o' of "Reworded" and a tab between 'm' and 'i' of "commit".
image

How it appears in the Git log:
image

Did this work in previous version

Not sure

Environment

  • GitExtensions version: 3.4.0.9381
  • GIT version: 2.26.0.windows.1
  • OS version: Windows 10 / Microsoft Windows NT 6.2.9200.0
  • .NET version: 4.8.4180.0

Tests fail in .NET5/master

https://ci.appveyor.com/project/drewnoakes/icsharpcode-texteditor/builds/39014111/job/h55dotf5afqydj38

msbuild "C:\projects\icsharpcode-texteditor\ICSharpCode.TextEditor.sln" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files\dotnet\sdk\2.2.110\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(96,5): error NETSDK1013: The TargetFramework value 'net5.0-windows' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. [C:\projects\icsharpcode-texteditor\Project\ICSharpCode.TextEditor.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1657,5): error : Project '..\Project\ICSharpCode.TextEditor.csproj' targets 'net5.0-windows'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.6.1'. [C:\projects\icsharpcode-texteditor\ICSharpCode.TextEditor.Sample\ICSharpCode.TextEditor.Sample.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1657,5): error : Project '..\Project\ICSharpCode.TextEditor.csproj' targets 'net5.0-windows'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.6.1'. [C:\projects\icsharpcode-texteditor\Test\ICSharpCode.TextEditor.Tests.csproj]

publish component on NuGet

This is a great component that is build with pure C#! any chance of getting it available on NuGet, so it can be pulled by other projects?

TextEditor horizontal scrollbar causes content to jitter/jump

Bug

What is the current behavior?
Text view content jumping around when scrollbar auto-appears

Suggestion
I'd say either have a debounce/throttle for hiding the scrollbar or once it's shown don't hide it at all. Throttling might be better.

Environment you encounter the issue:
gitextensions/Master @ 58f3b6c1f44260f61095df165e9c0c7b50c9f91f

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.