<commit_before># MGSFragaria

A fork of https://github.com/mugginsoft/Fragaria with a focus on fixing bugs, while adding some new features along
the way.

## What is it?

Fragaria is an OS X Cocoa syntax colouring NSTextView implemented within a framework named MGSFragaria. It supports a
wide range of programming languages and includes preference panel support.

## Why switching to this fork makes my code not build anymore?

First, replace your `fragaria = [[MGSFragaria alloc] init];` with `fragaria = [[MGSFragaria alloc] initWithView:view]`,
where `view` is the parameter you pass to `[fragaria embedInView:view];`. Then remove `[fragaria embedInView:view];`
entirely. Most of the time, this is the only change you need to make, and is required by the new internal
architecture of Fragaria. If you app continues not to work, read on.

Fragaria used to be a part of a bigger application (Smultron). When it was separed from it, some things which
Smultron used but were unrelated to Fragaria itself were mistakenly left in. Also, various internal components of 
Fragaria were not made private (because in application code there's no distinction between public and private
stuff). These things are being removed.

If your app was using this stuff, you should reimplement it yourself.

## Where can I see it in use

You can see Fragaria used in the following projects and products:

* [Appium Recorder](http://appium.io) : Appium is an open source, cross-platform test automation tool for native and
* hybrid mobile apps. ([repo](https://github.com/appium/appium)).

* [cocoa-rest-client](https://github.com/mmattozzi/cocoa-rest-client) A native OS X cocoa application for testing HTTP
* endpoints.

* [CocosBuilder](http://www.cocosbuilder.com/). CocosBuilder is a free tool (released under MIT-licence) for rapidly
* developing games and apps. ([repo](https://github.com/cocos2d/CocosBuilder))

* [Cocoduino](https://github.com/fabiankr/Cocoduino) is an IDE for the Arduino platform written in native Cocoa.

* [KosmicTask](http://www.mugginsoft.com) is a multi (20+) language  scripting environment for OS X that features
* script editing, network sharing, remote execution, and file processing.

* [nib2objc](https://github.com/akosma/nib2objc) This utility converts NIB files (or XIB ones) into Objective-C code

If you use Fragaria in your app and want it added to the list just let us know or edit the README.

## Features

Most features are accessed via the framework preferences.

* Configurable syntax colouring
* Configurable font type, size and colour.
* Invisible character display
* Line numbering
* Brace matching and auto insertion
* Page guide
* Simple word auto complete
* Tab and indent control
* Line wrapping<commit_msg>Fix bullet points in README.md.<commit_after># MGSFragaria

A fork of https://github.com/mugginsoft/Fragaria with a focus on fixing bugs, while adding some new features along
the way.

## What is it?

Fragaria is an OS X Cocoa syntax colouring NSTextView implemented within a framework named MGSFragaria. It supports a
wide range of programming languages and includes preference panel support.

## Why switching to this fork makes my code not build anymore?

First, replace your `fragaria = [[MGSFragaria alloc] init];` with `fragaria = [[MGSFragaria alloc] initWithView:view]`,
where `view` is the parameter you pass to `[fragaria embedInView:view];`. Then remove `[fragaria embedInView:view];`
entirely. Most of the time, this is the only change you need to make, and is required by the new internal
architecture of Fragaria. If you app continues not to work, read on.

Fragaria used to be a part of a bigger application (Smultron). When it was separed from it, some things which
Smultron used but were unrelated to Fragaria itself were mistakenly left in. Also, various internal components of 
Fragaria were not made private (because in application code there's no distinction between public and private
stuff). These things are being removed.

If your app was using this stuff, you should reimplement it yourself.

## Where can I see it in use

You can see Fragaria used in the following projects and products:

* [Appium Recorder](http://appium.io) : Appium is an open source, cross-platform test automation tool for native
  and hybrid mobile apps. ([repo](https://github.com/appium/appium)).

* [cocoa-rest-client](https://github.com/mmattozzi/cocoa-rest-client) A native OS X cocoa application for testing HTTP
  endpoints.

* [CocosBuilder](http://www.cocosbuilder.com/). CocosBuilder is a free tool (released under MIT-licence) for rapidly
  developing games and apps. ([repo](https://github.com/cocos2d/CocosBuilder))

* [Cocoduino](https://github.com/fabiankr/Cocoduino) is an IDE for the Arduino platform written in native Cocoa.

* [KosmicTask](http://www.mugginsoft.com) is a multi (20+) language  scripting environment for OS X that features
  script editing, network sharing, remote execution, and file processing.

* [nib2objc](https://github.com/akosma/nib2objc) This utility converts NIB files (or XIB ones) into Objective-C code

If you use Fragaria in your app and want it added to the list just let us know or edit the README.

## Features

Most features are accessed via the framework preferences.

* Configurable syntax colouring
* Configurable font type, size and colour.
* Invisible character display
* Line numbering
* Brace matching and auto insertion
* Page guide
* Simple word auto complete
* Tab and indent control
* Line wrapping
{'fraction_non_alphanumeric': 0.07482746095168907, 'fraction_numerical': 0.0018162005085361425, 'mean_word_length': 4.671472708547888, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3533834', 'n_tokens_mistral': 1588, 'n_tokens_neox': 1529, 'n_words': 729}