fdorg / flashdevelop

FlashDevelop is a free and open source code editor.
MIT License
825 stars 220 forks source link

[Windows] Incorrect comparison of file names #2800

Open Klug76 opened 5 years ago

Klug76 commented 5 years ago

Class flashdevelop\External\Plugins\FlashDebugger\Helpers\ScintillaHelper.cs contains incorrect (case sensitive) file name comparison (in Windows): if (doc == null || doc.FileName != filefullpath) return null; this prevents the editor from correctly setting the line position when debugging. Proof: fd_bug_filename_case 1 fd_bug_filename_case 2

Klug76 commented 4 years ago

FD still contains a lot of case sensitive code e.g. HashCalculator.CalculateSHA1(path), localPath != PluginBase.MainForm.CurrentDocument.FileName etc...