Giter VIP home page Giter VIP logo

erbele's People

Contributors

abentele avatar gpongelli avatar jawsoftware avatar tearsofphoenix avatar timmysil avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

erbele's Issues

Crash: "attempted glyph generation while textStorage is editing"

2017-01-28 21:16:37.081802 Fraise[16578:7587296] [General] -[FRALayoutManager _fillGlyphHoleForCharacterRange:startGlyphIndex:desiredNumberOfCharacters:] *** attempted glyph generation while textStorage is editing.  It is not valid to cause the layoutManager to do glyph generation while the textStorage is editing (ie the textStorage has been sent a beginEditing message without a matching endEditing.)
2017-01-28 21:16:37.085807 Fraise[16578:7587296] [General] (
	0   CoreFoundation                      0x00007fff8a02d0db __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fff9ecbea2a objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff8a0aa9c5 +[NSException raise:format:] + 197
	3   UIFoundation                        0x00007fff9cb861fc -[NSLayoutManager(NSPrivate) _fillGlyphHoleForCharacterRange:startGlyphIndex:desiredNumberOfCharacters:] + 492
	4   UIFoundation                        0x00007fff9cb88c92 _NSFastFillAllGlyphHolesForCharacterRange + 735
	5   UIFoundation                        0x00007fff9caa0337 -[NSLayoutManager glyphIndexForCharacterAtIndex:] + 54
	6   UIFoundation                        0x00007fff9cb88ec1 -[NSLayoutManager(NSPrivate) _primitiveGlyphRangeForCharacterRange:] + 112
	7   UIFoundation                        0x00007fff9ca9f24a -[NSLayoutManager invalidateDisplayForCharacterRange:] + 440
	8   UIFoundation                        0x00007fff9caa5c4d -[NSLayoutManager removeTemporaryAttribute:forCharacterRange:] + 514
	9   Fraise                              0x000000010005a89b -[FRASyntaxColouring removeColoursFromRange:] + 75
	10  Fraise                              0x000000010005b933 -[FRASyntaxColouring recolourRange:] + 1939
	11  Fraise                              0x000000010005b148 -[FRASyntaxColouring pageRecolourTextView:] + 1528
	12  Fraise                              0x000000010003acb7 -[FRALineNumbers updateLineNumbersForClipView:checkWidth:recolour:] + 6407
	13  Fraise                              0x0000000100039040 -[FRALineNumbers viewBoundsDidChange:] + 368
	14  CoreFoundation                      0x00007fff89fb99fc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
	15  CoreFoundation                      0x00007fff89fb98fb _CFXRegistrationPost + 427
	16  CoreFoundation                      0x00007fff89fb9662 ___CFXNotificationPost_block_invoke + 50
	17  CoreFoundation                      0x00007fff89f77d12 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 2018
	18  CoreFoundation                      0x00007fff89f76cfb _CFXNotificationPost + 667
	19  Foundation                          0x00007fff8b9baa37 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
	20  AppKit                              0x00007fff87bbaf72 -[NSView _postBoundsChangeNotification] + 175
	21  AppKit                              0x00007fff87bbae58 -[NSView translateOriginToPoint:] + 287
	22  AppKit                              0x00007fff87bb94ba -[NSClipView _immediateScrollToPoint:] + 1741
	23  AppKit                              0x00007fff87bb8d44 -[NSClipView scrollToPoint:] + 243
	24  AppKit                              0x00007fff87bf5cf9 -[NSScrollView scrollClipView:toPoint:] + 78
	25  AppKit                              0x00007fff87b9e6ef -[NSClipView _scrollTo:animateScroll:flashScrollerKnobs:] + 1652
	26  AppKit                              0x00007fff87bf5c71 -[NSClipView _scrollPoint:fromView:] + 86
	27  AppKit                              0x00007fff87bf5bf5 -[NSView scrollPoint:] + 38
	28  UIFoundation                        0x00007fff9cb8d81f -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 7388
	29  UIFoundation                        0x00007fff9cb8ba04 -[NSLayoutManager(NSPrivate) _recalculateUsageForTextContainerAtIndex:] + 2757
	30  UIFoundation                        0x00007fff9ca9b707 _enableTextViewResizing + 231
	31  UIFoundation                        0x00007fff9ca9f756 -[NSLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] + 569
	32  UIFoundation                        0x00007fff9ca9f7aa -[NSLayoutManager processEditingForTextStorage:edited:range:changeInLength:invalidatedRange:] + 47
	33  UIFoundation                        0x00007fff9caf021f -[NSTextStorage _notifyEdited:range:changeInLength:invalidatedRange:] + 178
	34  UIFoundation                        0x00007fff9caefcd1 -[NSTextStorage processEditing] + 373
	35  UIFoundation                        0x00007fff9caefb25 -[NSTextStorage edited:range:changeInLength:] + 311
	36  Foundation                          0x00007fff8ba00f7c -[NSConcreteMutableAttributedString addAttribute:value:range:] + 394
	37  UIFoundation                        0x00007fff9caf145c __NSConcreteTextStorageLockedForwarding + 49
	38  UIFoundation                        0x00007fff9caf17b8 -[NSConcreteTextStorage addAttribute:value:range:] + 84
	39  AppKit                              0x00007fff87d3900a -[NSTextView setFont:] + 213
	40  Fraise                              0x000000010007c8bc -[FRATextView observeValueForKeyPath:ofObject:change:context:] + 332
	41  Foundation                          0x00007fff8b9f771d NSKeyValueNotifyObserver + 350
	42  Foundation                          0x00007fff8ba6e9a4 -[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:] + 990
	43  AppKit                              0x00007fff87ca8861 -[NSController _notifyObserversForKeyPath:change:] + 194
	44  AppKit                              0x00007fff87cb1716 -[NSController observeValueForKeyPath:ofObject:change:context:] + 919
	45  Fraise                              0x0000000100015b3d -[FRAApplication sendEvent:] + 4605
	46  AppKit                              0x00007fff87ac8f81 -[NSApplication run] + 1002
	47  AppKit                              0x00007fff87a93850 NSApplicationMain + 1237
	48  Fraise                              0x000000010000abcb main + 43
	49  libdyld.dylib                       0x00007fff9f5a0255 start + 1
)
(lldb)

Erbele

how to install Erbele SOFTWARE on Sierra?

feature request: timestamp and pinned files and more

hello there. thank you for the great effort. please consider the features to add:

  • microsoft notepad.exe has an undocumented but useful feature: if you place the special token ".LOG" at the very beginning of a text file, when you open the file the notepad jumps to the end and inserts the timestamp. useful for diaries and notes
  • a way to pin a file to the sidebar to make sure it won't go away if you accidentally close it
  • select the invisible characters to be shown. say, tabs, BOM, CR, and LF are nice to see, but having the "visible" spaces is a bit irritating

Is a Windows version possible?

I'm a happy user of Erbele on my home Mac and I'm struggling to find an equivalent for Windows. I used Notepad++ for many years but recent changes made me drop it. I am currently using Kate and also tried Gedit, Komodo and PSPad but none of them have the flexibility and simplicity of Erbele.

Is is possible to take the exisitng source code and compile it on Windows? If not, what changes would be required and would it be complex to do? I wouldn't mind trying but I haven't programmed or compiled in many years.

I am using a few applications on both my work PC and home machine, so something is certainly possible. For example, the following Apps are available both as MacOS and Windows versions: Kate, Veracrypt, Gimp, Gedit, Komodo, VLC, ...

Thank you

manual download

Please provide a manual download of Erbele outside of the AppStore again.

It used to be possible to download and install Erbele manually. This option was taken a few years ago. Now, to download and install Erbele, you need to have an Apple-ID with all disadvantages this brings in. Since there is no home brew, fink or MacPorts package, could you please provide a way to download and install Erbele again? Thank you very much.

Add more syntax definitions

add syntax highlighting for additional languages, e.g.

  • Swift (as the primary language on the mac should not be missing)
  • Markdown
  • Groovy
  • Go
  • Make
  • YAML
  • Clojure
  • LESS
  • Kotlin
  • reactjs / jsx

Personally I would prefer to add support for preferred web languages.

Permission escalation

Erbele version prev to 3.11.1 asked for a password to save a file that you dont have permissions. But in 3.11 "Authenticate" button doesn't works. And in versions after 3.11 there is no "Authenticate" button. Just message that i don't have permissions to save a file.
Is it bug or feature?

Error loading macOS 10.12 Sierra

Hello,

I use a Mac OS X 10.12 and a Mac OS X 10.11 with Hackintosh (Asus P5E3 Premium + Intel Core 2 Quad Q9450).
With Mac OS X 10.11, I use Fraise (jfmoy), without any problem: everything works.
With Mac OS X 10.12, supports Fraise (abentele).
I open the first time Strawberry (abentele), it launches without problem. I close it. And then a crash prevents me from throwing it. And here are 2 different crashes :
KP-1012.txt
KP-1012b.txt
jericane1

Erbele crashes when closing window

Affected version: Erbele 3.9

Steps to reproduce:

  • open Erbele
  • close main window
  • quit application

=> Erbele crashes

Maybe it has to do with conversion of class FRADocumentsMenuController to Swift.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.erbele.Erbele             	0x0000000107b30f31 FRADocumentsMenuController.buildDocumentsMenu() + 4657
1   org.erbele.Erbele             	0x0000000107b313c1 @objc FRADocumentsMenuController.menuNeedsUpdate(_:) + 65
2   com.apple.AppKit              	0x00007fff36602883 -[NSMenu _populateFromDelegateWithEventRef:] + 306
3   com.apple.AppKit              	0x00007fff36519b71 -[NSMenu _populateWithEventRef:] + 81
4   com.apple.AppKit              	0x00007fff3665c028 -[NSCarbonMenuImpl _carbonPopulateEvent:handlerCallRef:] + 360
5   com.apple.AppKit              	0x00007fff3665be51 NSSLMMenuEventHandler + 1197
6   com.apple.HIToolbox           	0x00007fff37cbb8ff DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1254
7   com.apple.HIToolbox           	0x00007fff37cbad8d SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 329
8   com.apple.HIToolbox           	0x00007fff37cbac3d SendEventToEventTargetWithOptions + 45
9   com.apple.HIToolbox           	0x00007fff37d0c2f6 SendMenuPopulate(MenuData*, OpaqueEventTargetRef*, unsigned int, double, unsigned int, OpaqueEventRef*, unsigned char, unsigned char*) + 318
10  com.apple.HIToolbox           	0x00007fff37d0c092 PopulateMenu(MenuData*, OpaqueEventTargetRef*, CheckMenuData*, unsigned int, double) + 100
11  com.apple.HIToolbox           	0x00007fff37d0b73b Check1MenuForKeyEvent(MenuData*, CheckMenuData*) + 226
12  com.apple.HIToolbox           	0x00007fff37d0b3c3 CheckMenusForKeyEvent(MenuData*, CheckMenuData*) + 704
13  com.apple.HIToolbox           	0x00007fff37d0b052 _IsMenuKeyEvent(MenuData*, OpaqueEventRef*, unsigned int, MenuData**, unsigned short*) + 455
14  com.apple.HIToolbox           	0x00007fff37d0ae44 IsMenuKeyEvent + 111
15  com.apple.AppKit              	0x00007fff3681c774 +[NSCarbonMenuImpl _menuItemWithKeyEquivalentMatchingEventRef:inMenu:includingDisabledItems:] + 213
16  com.apple.AppKit              	0x00007fff3665b7ec _NSFindMenuItemMatchingCommandKeyEvent + 163
17  com.apple.AppKit              	0x00007fff36679aa6 -[NSMenu performKeyEquivalent:] + 139
18  com.apple.AppKit              	0x00007fff36aaf9ab routeKeyEquivalent + 521
19  com.apple.AppKit              	0x00007fff364cb87d -[NSApplication(NSEvent) sendEvent:] + 1161
20  org.erbele.Erbele             	0x0000000107abf820 -[FRAApplication sendEvent:] + 4131
21  com.apple.AppKit              	0x00007fff363185bf -[NSApplication run] + 707
22  com.apple.AppKit              	0x00007fff362ea396 NSApplicationMain + 777
23  org.erbele.Erbele             	0x0000000107ab8c33 main + 33
24  libdyld.dylib                 	0x00007fff73151cc9 start + 1

Scroll freezes

Since the last version, whenever I scroll (with the virtual mouse wheel) inside a text file with more than 100 lines, scroll gets stuck. I need to use the elevators to move past line 100. This happens in both directions:

  • If I am at the start of the file and scroll down, it gets stuck at around line 100
  • If I am after line 100 and scroll up, it also gets stuck at around line 100

It does not always happen with all files but it happens often enough to bother me.

Can you please look into this?

Running latest Erbele from MAS on latest Big Sur

Add another Language for Erbele (eg. Korean :D )

(sorry for my english)

oh, glad to your decide of continuing project. :D
i've worked korean l10n file but i couldn't merge cause by discontinued.
but Erbele is working now, so i want to merge file for your project.

if you want, i will work for your project. how do you think?

Crash with 3.10

First of all, thank you very much for this great and useful application that I have been using for several years.

Until now I was using version 3.8 but due to some problems I upgraded to 3.10. However, when I open a new document with Erbele, the application crashes as soon as I start to enter text in the editor.

I'm on mac 10.14.6 (Mojave) and I'm attaching the problem report.
Maybe you have an idea or some hints?
report.txt

Startup error and Markdown preview

Hello!
First, thanks a lot for Erbele, I have been using it since a long time for personal tasks (Smultron > Fraise > Erbele). I am now using latest version (3.10) on High Sierra 10.13.6.

But only today I tried to preview a README.md (GitHub extended Markdown) and I was trilled that Erbele has support for it, but it didn't work. None of the two options worked, it just shows a blank area. Then I tried to run its binary from the terminal to see what's going on, and found out that it shows an error message on launch:

CoreData: annotation: Failed to load optimized model at path '/Applications/User Apps/Erbele.app/Contents/Resources/FRADataModel.momd/FRADataModel4.omo'

And when trying to preview Markdown:

Can't open perl script "/Applications/User": No such file or directory

If you need further info or testing, please let me know.

Regards

New name

I like "Erbele" ... sounds sweet ;-)

Cannot save a new file from within Erbele

When I open Erbele and then paste a text copied from somewhere else, I cannot save the text file anywhere (option CMD+S is greyed out)...

Using Ventura 13.3.1 on a IntelCore i9 MacBook Pro 16''.

Notice that, on the other hand, everything works fine on an M1 iMac.

Current release 'damaged' ?

I downloaded the latest release (3.10) manually (since automatic update crashed upon installation) but cannot start Erberle anymore:

Screenshot 2020-12-01 at 10 39 55

I am on 10.14.6, any advice / idea?

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.