Browse Source

update src folder links

pull/9091/head
Arhell 3 years ago
parent
commit
14029cb934
  1. 2
      src/Avalonia.Base/Input/Cursor.cs
  2. 2
      src/Avalonia.Base/Media/PreciseEllipticArcHelper.cs
  3. 2
      src/Avalonia.Base/Media/TextFormatting/Unicode/BinaryReaderExtensions.cs
  4. 2
      src/Avalonia.Base/Media/TextFormatting/Unicode/Codepoint.cs
  5. 2
      src/Avalonia.Base/Media/TextFormatting/Unicode/LineBreak.cs
  6. 2
      src/Avalonia.Base/Media/TextFormatting/Unicode/UnicodeTrie.cs
  7. 2
      src/Avalonia.Base/Media/TextFormatting/Unicode/UnicodeTrieBuilder.Constants.cs
  8. 2
      src/Avalonia.Base/Media/TextFormatting/Unicode/UnicodeTrieBuilder.cs
  9. 2
      src/Avalonia.Base/Utilities/BinarySearchExtension.cs
  10. 2
      src/Avalonia.Controls/AutoCompleteBox.cs
  11. 2
      src/Avalonia.Controls/Calendar/Calendar.cs
  12. 2
      src/Avalonia.Controls/Calendar/CalendarBlackoutDatesCollection.cs
  13. 2
      src/Avalonia.Controls/Calendar/CalendarButton.cs
  14. 2
      src/Avalonia.Controls/Calendar/CalendarDateRange.cs
  15. 2
      src/Avalonia.Controls/Calendar/CalendarDayButton.cs
  16. 2
      src/Avalonia.Controls/Calendar/CalendarExtensions.cs
  17. 2
      src/Avalonia.Controls/Calendar/CalendarItem.cs
  18. 2
      src/Avalonia.Controls/Calendar/DateTimeHelper.cs
  19. 2
      src/Avalonia.Controls/Calendar/SelectedDatesCollection.cs
  20. 2
      src/Avalonia.Controls/CalendarDatePicker/CalendarDatePicker.cs
  21. 2
      src/Avalonia.Controls/CalendarDatePicker/CalendarDatePickerDateValidationErrorEventArgs.cs
  22. 2
      src/Avalonia.Controls/CalendarDatePicker/CalendarDatePickerFormat.cs
  23. 2
      src/Avalonia.Controls/Primitives/PopupPositioning/IPopupPositioner.cs
  24. 2
      src/Avalonia.Controls/Utils/ISelectionAdapter.cs
  25. 2
      src/Avalonia.Controls/Utils/SelectingItemsControlSelectionAdapter.cs
  26. 2
      src/Avalonia.Native/IconLoader.cs
  27. 2
      src/Avalonia.Themes.Fluent/Controls/Calendar.xaml
  28. 2
      src/Avalonia.Themes.Fluent/Controls/CalendarButton.xaml
  29. 2
      src/Avalonia.Themes.Fluent/Controls/CalendarDayButton.xaml
  30. 2
      src/Avalonia.Themes.Fluent/Controls/CalendarItem.xaml
  31. 2
      src/Avalonia.Themes.Fluent/Controls/DatePicker.xaml
  32. 2
      src/Avalonia.Themes.Fluent/Controls/DateTimePickerShared.xaml
  33. 2
      src/Avalonia.Themes.Fluent/Controls/TimePicker.xaml
  34. 2
      src/Avalonia.Themes.Simple/Controls/CalendarItem.xaml
  35. 2
      src/Avalonia.Themes.Simple/Controls/DateTimePickerShared.xaml
  36. 2
      src/Avalonia.X11/X11Atoms.cs
  37. 2
      src/Web/Avalonia.Web.Blazor/webapp/modules/Avalonia/CaretHelper.ts

2
src/Avalonia.Base/Input/Cursor.cs

@ -33,7 +33,7 @@ namespace Avalonia.Input
DragLink, DragLink,
None, None,
// Not available in GTK directly, see http://www.pixelbeat.org/programming/x_cursors/ // Not available in GTK directly, see https://www.pixelbeat.org/programming/x_cursors/
// We might enable them later, preferably, by loading pixmax directly from theme with fallback image // We might enable them later, preferably, by loading pixmax directly from theme with fallback image
// SizeNorthWestSouthEast, // SizeNorthWestSouthEast,
// SizeNorthEastSouthWest, // SizeNorthEastSouthWest,

2
src/Avalonia.Base/Media/PreciseEllipticArcHelper.cs

@ -1081,7 +1081,7 @@ namespace Avalonia.Media
Point c = rest * (cs) + translation; Point c = rest * (cs) + translation;
// See "http://www.w3.org/TR/SVG/implnote.html#ArcConversionEndpointToCenter" to understand // See "https://www.w3.org/TR/SVG/implnote.html#ArcConversionEndpointToCenter" to understand
// how the ellipse center is calculated // how the ellipse center is calculated

2
src/Avalonia.Base/Media/TextFormatting/Unicode/BinaryReaderExtensions.cs

@ -5,7 +5,7 @@
// not use this product except in compliance with the License. You may obtain // not use this product except in compliance with the License. You may obtain
// a copy of the License at // a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // https://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT

2
src/Avalonia.Base/Media/TextFormatting/Unicode/Codepoint.cs

@ -104,7 +104,7 @@ namespace Avalonia.Media.TextFormatting.Unicode
/// <summary> /// <summary>
/// Gets the canonical representation of a given codepoint. /// Gets the canonical representation of a given codepoint.
/// <see href="http://www.unicode.org/L2/L2013/13123-norm-and-bpa.pdf"/> /// <see href="https://www.unicode.org/L2/L2013/13123-norm-and-bpa.pdf"/>
/// </summary> /// </summary>
/// <param name="codePoint">The code point to be mapped.</param> /// <param name="codePoint">The code point to be mapped.</param>
/// <returns>The mapped canonical code point, or the passed <paramref name="codePoint"/>.</returns> /// <returns>The mapped canonical code point, or the passed <paramref name="codePoint"/>.</returns>

2
src/Avalonia.Base/Media/TextFormatting/Unicode/LineBreak.cs

@ -5,7 +5,7 @@
// not use this product except in compliance with the License. You may obtain // not use this product except in compliance with the License. You may obtain
// a copy of the License at // a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // https://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT

2
src/Avalonia.Base/Media/TextFormatting/Unicode/UnicodeTrie.cs

@ -5,7 +5,7 @@
// not use this product except in compliance with the License. You may obtain // not use this product except in compliance with the License. You may obtain
// a copy of the License at // a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // https://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT

2
src/Avalonia.Base/Media/TextFormatting/Unicode/UnicodeTrieBuilder.Constants.cs

@ -5,7 +5,7 @@
// not use this product except in compliance with the License. You may obtain // not use this product except in compliance with the License. You may obtain
// a copy of the License at // a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // https://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT

2
src/Avalonia.Base/Media/TextFormatting/Unicode/UnicodeTrieBuilder.cs

@ -5,7 +5,7 @@
// not use this product except in compliance with the License. You may obtain // not use this product except in compliance with the License. You may obtain
// a copy of the License at // a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // https://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT

2
src/Avalonia.Base/Utilities/BinarySearchExtension.cs

@ -5,7 +5,7 @@
// not use this product except in compliance with the License. You may obtain // not use this product except in compliance with the License. You may obtain
// a copy of the License at // a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // https://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT

2
src/Avalonia.Controls/AutoCompleteBox.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using System; using System;

2
src/Avalonia.Controls/Calendar/Calendar.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using System; using System;

2
src/Avalonia.Controls/Calendar/CalendarBlackoutDatesCollection.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using System; using System;

2
src/Avalonia.Controls/Calendar/CalendarButton.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using Avalonia.Controls.Metadata; using Avalonia.Controls.Metadata;

2
src/Avalonia.Controls/Calendar/CalendarDateRange.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using System; using System;

2
src/Avalonia.Controls/Calendar/CalendarDayButton.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using System; using System;

2
src/Avalonia.Controls/Calendar/CalendarExtensions.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using Avalonia.Input; using Avalonia.Input;

2
src/Avalonia.Controls/Calendar/CalendarItem.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using System; using System;

2
src/Avalonia.Controls/Calendar/DateTimeHelper.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using System; using System;

2
src/Avalonia.Controls/Calendar/SelectedDatesCollection.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using Avalonia.Threading; using Avalonia.Threading;

2
src/Avalonia.Controls/CalendarDatePicker/CalendarDatePicker.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using System; using System;

2
src/Avalonia.Controls/CalendarDatePicker/CalendarDatePickerDateValidationErrorEventArgs.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using System; using System;

2
src/Avalonia.Controls/CalendarDatePicker/CalendarDatePickerFormat.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
namespace Avalonia.Controls namespace Avalonia.Controls

2
src/Avalonia.Controls/Primitives/PopupPositioning/IPopupPositioner.cs

@ -35,7 +35,7 @@ DEALINGS IN THE SOFTWARE.
The above is the version of the MIT "Expat" License used by X.org: The above is the version of the MIT "Expat" License used by X.org:
http://cgit.freedesktop.org/xorg/xserver/tree/COPYING https://cgit.freedesktop.org/xorg/xserver/tree/COPYING
Adjustments for Avalonia needs: Adjustments for Avalonia needs:

2
src/Avalonia.Controls/Utils/ISelectionAdapter.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using System; using System;

2
src/Avalonia.Controls/Utils/SelectingItemsControlSelectionAdapter.cs

@ -1,6 +1,6 @@
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
using System; using System;

2
src/Avalonia.Native/IconLoader.cs

@ -6,7 +6,7 @@ namespace Avalonia.Native
// OSX doesn't have a concept of *window* icon. // OSX doesn't have a concept of *window* icon.
// Icons in the title bar are only shown if there is // Icons in the title bar are only shown if there is
// an opened file (on disk) associated with the current window // an opened file (on disk) associated with the current window
// see http://stackoverflow.com/a/7038671/2231814 // see https://stackoverflow.com/a/7038671/2231814
class IconLoader : IPlatformIconLoader class IconLoader : IPlatformIconLoader
{ {
class IconStub : IWindowIconImpl class IconStub : IWindowIconImpl

2
src/Avalonia.Themes.Fluent/Controls/Calendar.xaml

@ -1,7 +1,7 @@
<!-- <!--
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
--> -->

2
src/Avalonia.Themes.Fluent/Controls/CalendarButton.xaml

@ -1,7 +1,7 @@
<!-- <!--
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
--> -->
<ResourceDictionary xmlns="https://github.com/avaloniaui" <ResourceDictionary xmlns="https://github.com/avaloniaui"

2
src/Avalonia.Themes.Fluent/Controls/CalendarDayButton.xaml

@ -1,7 +1,7 @@
<!-- <!--
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
--> -->
<ResourceDictionary xmlns="https://github.com/avaloniaui" <ResourceDictionary xmlns="https://github.com/avaloniaui"

2
src/Avalonia.Themes.Fluent/Controls/CalendarItem.xaml

@ -1,7 +1,7 @@
<!-- <!--
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
--> -->
<ResourceDictionary xmlns="https://github.com/avaloniaui" <ResourceDictionary xmlns="https://github.com/avaloniaui"

2
src/Avalonia.Themes.Fluent/Controls/DatePicker.xaml

@ -1,7 +1,7 @@
<!-- <!--
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
--> -->

2
src/Avalonia.Themes.Fluent/Controls/DateTimePickerShared.xaml

@ -1,7 +1,7 @@
<!-- <!--
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
--> -->

2
src/Avalonia.Themes.Fluent/Controls/TimePicker.xaml

@ -1,7 +1,7 @@
<!-- <!--
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
--> -->

2
src/Avalonia.Themes.Simple/Controls/CalendarItem.xaml

@ -1,7 +1,7 @@
<!-- <!--
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
--> -->

2
src/Avalonia.Themes.Simple/Controls/DateTimePickerShared.xaml

@ -1,7 +1,7 @@
<!-- <!--
// (c) Copyright Microsoft Corporation. // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL). // This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // Please see https://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved. // All other rights reserved.
--> -->

2
src/Avalonia.X11/X11Atoms.cs

@ -17,7 +17,7 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// //
// Copyright (c) 2006 Novell, Inc. (http://www.novell.com) // Copyright (c) 2006 Novell, Inc. (https://www.novell.com)
// //
// //

2
src/Web/Avalonia.Web.Blazor/webapp/modules/Avalonia/CaretHelper.ts

@ -75,7 +75,7 @@ export class CaretHelper {
div.textContent = element.value.substring(0, position); div.textContent = element.value.substring(0, position);
// The second special handling for input type="text" vs textarea: // The second special handling for input type="text" vs textarea:
// spaces need to be replaced with non-breaking spaces - http://stackoverflow.com/a/13402035/1269037 // spaces need to be replaced with non-breaking spaces - https://stackoverflow.com/a/13402035/1269037
if (isInput) div.textContent = div.textContent.replace(/\s/g, "\u00a0"); if (isInput) div.textContent = div.textContent.replace(/\s/g, "\u00a0");
const span = document.createElement("span"); const span = document.createElement("span");

Loading…
Cancel
Save