Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Features and Improvements #47

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open

New Features and Improvements #47

wants to merge 44 commits into from

Commits on Sep 15, 2013

  1. - Initial commit for bullet list

    TODO:
    - Make bullets bold
    - Calculate width of bullet-string according to the font and set headIndent and firstLineHeadIndent according to this width
    aryaxt committed Sep 15, 2013
    Configuration menu
    Copy the full SHA
    bcd446c View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2013

  1. - Calculating the width of the bullet string according to the font an…

    …d setting it as paragraph indentation to keep all lines in bullet list aligned
    aryaxt committed Sep 16, 2013
    Configuration menu
    Copy the full SHA
    194306c View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2013

  1. Configuration menu
    Copy the full SHA
    8641ed2 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2013

  1. - Detect whether bullet should be inserted or not based on the state …

    …of the first paragraph
    
    - Making the inserted bullet bold
    - Fixed a memory leak
    aryaxt committed Sep 22, 2013
    Configuration menu
    Copy the full SHA
    bb062ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    35c7f5a View commit details
    Browse the repository at this point in the history
  3. - If initial selected range length is 0, after applying bullet place …

    …cursor at initial location. This way the user can apply a bullet on existing paragraph, and continue typing after the bullet is inserted
    aryaxt committed Sep 22, 2013
    Configuration menu
    Copy the full SHA
    d431626 View commit details
    Browse the repository at this point in the history
  4. - Resize toolbar and font button to display full font name

    - Keep scroll position of toolbar after redrawing content
    aryaxt committed Sep 22, 2013
    Configuration menu
    Copy the full SHA
    1c61b47 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2013

  1. Configuration menu
    Copy the full SHA
    c13260b View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2013

  1. - Removed the logic that prevents existing typing attributes to be po…

    …pulated on toolbar during initial load
    
    - Added logic to insert a bullet when entering a new line
    - Added a logic to delete bullet (both characters) when back space is selected in front of a bullet
    aryaxt committed Sep 26, 2013
    Configuration menu
    Copy the full SHA
    0f240ce View commit details
    Browse the repository at this point in the history
  2. - Fixed a memory leak

    aryaxt committed Sep 26, 2013
    Configuration menu
    Copy the full SHA
    7cd8d1d View commit details
    Browse the repository at this point in the history
  3. - Performance improvement (Don't make a copy of attributed string unl…

    …ess there is a bullet and the mutable copy is needed)
    aryaxt committed Sep 26, 2013
    Configuration menu
    Copy the full SHA
    c19b17d View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2013

  1. - Workaround for the bug where in iOS6 accessing typingAttribute on a…

    …n empty text causes a crash
    
    - Added a method to pass html string and populate the rich text editor (Only works on iOS7 +)
    - Making bullet list consistent with the way iOS parses html to bullet attributed string
    aryaxt committed Sep 30, 2013
    Configuration menu
    Copy the full SHA
    164c203 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7c27f1 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2013

  1. Fixed #32

    Inserting an image loses the attributed and won't apply to text being typed after the image
    aryaxt committed Nov 4, 2013
    2 Configuration menu
    Copy the full SHA
    f9582d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2013

  1. - Overriding setAttributedText & setText and updating toolbar state t…

    …o make sure that when the text is changed through code the toolbar gets updated
    aryaxt committed Nov 12, 2013
    Configuration menu
    Copy the full SHA
    3d536a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e0cd8e View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2013

  1. - Fixed the problem with the color picker where selecting outside of …

    …the color picker causes the color to become black.
    
    - Sliding finger to top of the color picker will now select white, and sliding to the bottom will now select black.
    - Done button was renamed to select
    - There is now a clear button to completely remove color attributed when needed
    aryaxt committed Dec 22, 2013
    Configuration menu
    Copy the full SHA
    c3464c1 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2014

  1. - On iPhone (iOS7) when modal is presented, textView loses focus, whe…

    …n modal is dismissed textView doesn't become first responder automatically
    
    So there is now a new delegate that let's the RichTextEditor to become first responder after the modal is dismissed
    aryaxt committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    7a6323d View commit details
    Browse the repository at this point in the history
  2. - Added 3 new datasource methods to allow the user to pass a custom c…

    …olorPicker, fontPicker, or a fontSizePicker to richTextEditor in order to override the use of default pickers
    aryaxt committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    6fd4ad9 View commit details
    Browse the repository at this point in the history
  3. - When backspace is selected and bullet is removed, the paragraph hea…

    …d indent needs to be set to 0 so that new lines won't have bullet indent
    aryaxt committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    eea1356 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2014

  1. - Initial commit for bullet list

    TODO:
    - Make bullets bold
    - Calculate width of bullet-string according to the font and set headIndent and firstLineHeadIndent according to this width
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    cdd5e6d View commit details
    Browse the repository at this point in the history
  2. - Calculating the width of the bullet string according to the font an…

    …d setting it as paragraph indentation to keep all lines in bullet list aligned
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    ffcb8f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    971de19 View commit details
    Browse the repository at this point in the history
  4. - Detect whether bullet should be inserted or not based on the state …

    …of the first paragraph
    
    - Making the inserted bullet bold
    - Fixed a memory leak
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    b32a4e0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1200ada View commit details
    Browse the repository at this point in the history
  6. - If initial selected range length is 0, after applying bullet place …

    …cursor at initial location. This way the user can apply a bullet on existing paragraph, and continue typing after the bullet is inserted
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    99fae4e View commit details
    Browse the repository at this point in the history
  7. - Resize toolbar and font button to display full font name

    - Keep scroll position of toolbar after redrawing content
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    665c81f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b696dc7 View commit details
    Browse the repository at this point in the history
  9. - Removed the logic that prevents existing typing attributes to be po…

    …pulated on toolbar during initial load
    
    - Added logic to insert a bullet when entering a new line
    - Added a logic to delete bullet (both characters) when back space is selected in front of a bullet
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    0be0326 View commit details
    Browse the repository at this point in the history
  10. - Fixed a memory leak

    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    b1ff88e View commit details
    Browse the repository at this point in the history
  11. - Performance improvement (Don't make a copy of attributed string unl…

    …ess there is a bullet and the mutable copy is needed)
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    7b5d808 View commit details
    Browse the repository at this point in the history
  12. - Workaround for the bug where in iOS6 accessing typingAttribute on a…

    …n empty text causes a crash
    
    - Added a method to pass html string and populate the rich text editor (Only works on iOS7 +)
    - Making bullet list consistent with the way iOS parses html to bullet attributed string
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    50f6f6e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ad985cb View commit details
    Browse the repository at this point in the history
  14. Fixed #32

    Inserting an image loses the attributed and won't apply to text being typed after the image
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    daae441 View commit details
    Browse the repository at this point in the history
  15. - Overriding setAttributedText & setText and updating toolbar state t…

    …o make sure that when the text is changed through code the toolbar gets updated
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    07fe5b0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    99d13c6 View commit details
    Browse the repository at this point in the history
  17. - Fixed the problem with the color picker where selecting outside of …

    …the color picker causes the color to become black.
    
    - Sliding finger to top of the color picker will now select white, and sliding to the bottom will now select black.
    - Done button was renamed to select
    - There is now a clear button to completely remove color attributed when needed
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    57f921e View commit details
    Browse the repository at this point in the history
  18. - On iPhone (iOS7) when modal is presented, textView loses focus, whe…

    …n modal is dismissed textView doesn't become first responder automatically
    
    So there is now a new delegate that let's the RichTextEditor to become first responder after the modal is dismissed
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    f27b2ac View commit details
    Browse the repository at this point in the history
  19. - Added 3 new datasource methods to allow the user to pass a custom c…

    …olorPicker, fontPicker, or a fontSizePicker to richTextEditor in order to override the use of default pickers
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    a7ba072 View commit details
    Browse the repository at this point in the history
  20. - When backspace is selected and bullet is removed, the paragraph hea…

    …d indent needs to be set to 0 so that new lines won't have bullet indent
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    a03f5ad View commit details
    Browse the repository at this point in the history
  21. Merge branch 'List_Implementation' of http://github.com/aryaxt/iOS-Ri…

    …ch-Text-Editor into List_Implementation
    
    * 'List_Implementation' of http://github.com/aryaxt/iOS-Rich-Text-Editor:
      - When backspace is selected and bullet is removed, the paragraph head indent needs to be set to 0 so that new lines won't have bullet indent
      - Added 3 new datasource methods to allow the user to pass a custom colorPicker, fontPicker, or a fontSizePicker to richTextEditor in order to override the use of default pickers
      - On iPhone (iOS7) when modal is presented, textView loses focus, when modal is dismissed textView doesn't become first responder automatically So there is now a new delegate that let's the RichTextEditor to become first responder after the modal is dismissed
      - Fixed the problem with the color picker where selecting outside of the color picker causes the color to become black. - Sliding finger to top of the color picker will now select white, and sliding to the bottom will now select black. - Done button was renamed to select - There is now a clear button to completely remove color attributed when needed
      - We want to update the toolbar when the font changes as well
      - Overriding setAttributedText & setText and updating toolbar state to make sure that when the text is changed through code the toolbar gets updated
      Fixed #32 Inserting an image loses the attributed and won't apply to text being typed after the image
      - Added TextAttachment functionality (Inserting images into RichTextEditor)
      - Workaround for the bug where in iOS6 accessing typingAttribute on an empty text causes a crash - Added a method to pass html string and populate the rich text editor (Only works on iOS7 +) - Making bullet list consistent with the way iOS parses html to bullet attributed string
      - Performance improvement (Don't make a copy of attributed string unless there is a bullet and the mutable copy is needed)
      - Fixed a memory leak
      - Removed the logic that prevents existing typing attributes to be populated on toolbar during initial load - Added logic to insert a bullet when entering a new line - Added a logic to delete bullet (both characters) when back space is selected in front of a bullet
      - Fixed crash when bullet is selected on empty text
      - Resize toolbar and font button to display full font name - Keep scroll position of toolbar after redrawing content
      - If initial selected range length is 0, after applying bullet place cursor at initial location. This way the user can apply a bullet on existing paragraph, and continue typing after the bullet is inserted
      - Fixed comment for bullet list
      - Detect whether bullet should be inserted or not based on the state of the first paragraph - Making the inserted bullet bold - Fixed a memory leak
      - Added ability to create bullet list by selecting multiple paragraphs at a time
      - Calculating the width of the bullet string according to the font and setting it as paragraph indentation to keep all lines in bullet list aligned
      - Initial commit for bullet list TODO: - Make bullets bold - Calculate width of bullet-string according to the font and set headIndent and firstLineHeadIndent according to this width
    
    Conflicts:
    	RichTextEditor/Source/RichTextEditorColorPickerViewController.m
    aryaxt committed Apr 20, 2014
    Configuration menu
    Copy the full SHA
    0575cad View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2014

  1. Fixed some warnings

    Updated project settings
    Aryan committed Jun 22, 2014
    Configuration menu
    Copy the full SHA
    4ddd86b View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2014

  1. Configuration menu
    Copy the full SHA
    1158624 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2014

  1. Merge pull request #49 from cjwirth/List_Implementation

    Fix memory bug that was releasing font before using it
    aryaxt committed Aug 15, 2014
    Configuration menu
    Copy the full SHA
    e98bba4 View commit details
    Browse the repository at this point in the history