Skip to content

Instantly share code, notes, and snippets.

View bruzkovsky's full-sized avatar
😷
spread knowledge, not viruses

Matthias Bruzek bruzkovsky

😷
spread knowledge, not viruses
  • Upper Solutions
  • Austria
View GitHub Profile
// orginally from here: https://github.com/fabricjs/fabric.js/issues/4000#issue-235260862
class FixedTextbox extends fabric.Textbox {
_wrapLine(_line, lineIndex, desiredWidth, reservedSpace) {
const offset = 0;
let textWidth = this._measureWord(_line, lineIndex, offset);
if (textWidth > desiredWidth && !this.isEditing) {
const ellipsis = '…';
const lengthReducingFactor = desiredWidth / textWidth;
let length = Math.ceil(_line.length * lengthReducingFactor);
public class NumericEntryAccessoryViewEffect : PlatformEffect
{
protected override void OnAttached()
{
if (!(Element is Entry entry)) return;
entry.PropertyChanged += EntryOnPropertyChanged;
UpdateDoneButton();
}
2020-04-10T14:53:46.2065680Z ##[section]Starting: Boots: install Mono and Xamarin.iOS
2020-04-10T14:53:46.2072810Z ==============================================================================
2020-04-10T14:53:46.2073150Z Task : Boots
2020-04-10T14:53:46.2073520Z Description : Installs any supported payload type (e.g. .vsix, .pkg).
2020-04-10T14:53:46.2073830Z Version : 1.0.0
2020-04-10T14:53:46.2074140Z Author : Peter Collins, Jonathan Peppers
2020-04-10T14:53:46.2075970Z Help :
2020-04-10T14:53:46.2076310Z ==============================================================================
2020-04-10T14:53:46.3569180Z [command]/usr/local/bin/dotnet tool install boots --tool-path=/Users/runner/runners/2.165.2/work/_temp/boots-tool
2020-04-10T14:53:47.4444250Z
FormIOSListViewCrashNew.iOS(5832,0x114427380) malloc: *** error for object 0x604000e35380: Invalid pointer dequeued from free list
*** set a breakpoint in malloc_error_break to debug
2018-06-14 10:47:44.681 FormIOSListViewCrashNew.iOS[5832:193768] critical: Stacktrace:
2018-06-14 10:47:44.681 FormIOSListViewCrashNew.iOS[5832:193768] critical: at <unknown> <0xffffffff>
2018-06-14 10:47:44.681 FormIOSListViewCrashNew.iOS[5832:193768] critical: at (wrapper managed-to-native) ObjCRuntime.Messaging.void_objc_msgSend (intptr,intptr) [0x0000a] in <0b60c1467e7449608ac42f9c7bbfdd05>:0
2018-06-14 10:47:44.682 FormIOSListViewCrashNew.iOS[5832:193768] critical: at UIKit.UITableView.EndUpdates () [0x00008] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.12.0.4/src/Xamarin.iOS/UIKit/UITableView.g.cs:293
2018-06-14 10:47:44.682 FormIOSListViewCrashNew.iOS[5832:193768] critical: at Xamarin.Forms.Platform.iOS.ListViewRenderer.UpdateItems (System.Collections.Specialized.NotifyCollectionChangedEventArgs,int,bo
Unhandled Exception:
Foundation.MonoTouchException: <Timeout exceeded getting exception details>
Error while resolving expression: One or more errors occurred.
2018-06-14 10:21:10.142 FormIOSListViewCrashNew.iOS[4197:123919]
Unhandled Exception:
Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (4) must be equal to the number of rows contained in that section before the update (4), plus or minus the number of rows inserted or deleted from that section (1 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).
Native stack trace:
0 CoreFoundation 0x000000010d1be1e6 __exceptionPreprocess + 294
@bruzkovsky
bruzkovsky / VS2017
Last active June 13, 2018 07:03
Version info
Microsoft Visual Studio Community 2017
Version 15.7.1
VisualStudio.15.Release/15.7.1+27703.2000
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Community
Add Projects 1.0
Cyotek Add Projects 1.0.5.0 package for Microsoft Visual Studio. For more information about this extension, visit http://www.cyotek.com/. Copyright © 2013-2016 Cyotek Ltd.