)]}'
{
  "commit": "8225bf0c372a7cdc92d6598a751586a616006e40",
  "tree": "2b6862fb5c32ca54bf7276b20ea9a489b7f59dc1",
  "parents": [
    "11877e9a7574f32ca68dfb4f8e11425c32b7db91"
  ],
  "author": {
    "name": "Marcel Smit",
    "email": "marcel303@gmail.com",
    "time": "Thu Oct 11 10:16:22 2018 +0200"
  },
  "committer": {
    "name": "Marcel Smit",
    "email": "marcel303@gmail.com",
    "time": "Thu Oct 11 10:16:22 2018 +0200"
  },
  "message": "- Small optimizes SetText, GetText.\n- Added GetTextLines and SetTextLines, which directly get passed in a vector of strings. The reasons for having these functions are 1) when I save a file, I want to write \u0027\\r\\n\u0027 or \u0027\\n\u0027 depending on the line ending mode detected when loading a file, or as set by the user through a menu option. In either case, I want to set the line ending myself, instead of having the text editor use \u0027\\n\u0027 when concatenating all of the lines. 2) when loading a file, I will read the entire file, detect line endings, create strings in a vector. The regular SetText would have my concatenate all of these strings, only so it can split it up again. Passing the vector directly is more than twice as fast and less cumbersome.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bf9240e6136c02f0d2cbdc982db6e860c3d34e1b",
      "old_mode": 33188,
      "old_path": "TextEditor.cpp",
      "new_id": "b575824a6a06a8b910fd7ac20aee2ce77a7c1151",
      "new_mode": 33188,
      "new_path": "TextEditor.cpp"
    },
    {
      "type": "modify",
      "old_id": "79a337d8f970d06952621357b3437d1f92431254",
      "old_mode": 33188,
      "old_path": "TextEditor.h",
      "new_id": "5920c4f8db2ba729c5b0a3c1c0802a8cf54af988",
      "new_mode": 33188,
      "new_path": "TextEditor.h"
    }
  ]
}
