{"action":"created","issue":{"url":"https://api.github.com/repos/Z-Shang/FATE-Another-Text-Editor/issues/3","labels_url":"https://api.github.com/repos/Z-Shang/FATE-Another-Text-Editor/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Z-Shang/FATE-Another-Text-Editor/issues/3/comments","events_url":"https://api.github.com/repos/Z-Shang/FATE-Another-Text-Editor/issues/3/events","html_url":"https://github.com/Z-Shang/FATE-Another-Text-Editor/issues/3","id":123474870,"number":3,"title":"Unit of text data","user":{"login":"Z-Shang","id":859939,"avatar_url":"https://avatars.githubusercontent.com/u/859939?v=3","gravatar_id":"","url":"https://api.github.com/users/Z-Shang","html_url":"https://github.com/Z-Shang","followers_url":"https://api.github.com/users/Z-Shang/followers","following_url":"https://api.github.com/users/Z-Shang/following{/other_user}","gists_url":"https://api.github.com/users/Z-Shang/gists{/gist_id}","starred_url":"https://api.github.com/users/Z-Shang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Z-Shang/subscriptions","organizations_url":"https://api.github.com/users/Z-Shang/orgs","repos_url":"https://api.github.com/users/Z-Shang/repos","events_url":"https://api.github.com/users/Z-Shang/events{/privacy}","received_events_url":"https://api.github.com/users/Z-Shang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-22T12:38:49Z","updated_at":"2015-12-22T14:47:03Z","closed_at":null,"body":"What should the basis text data be?\n\nCharacter or\nMorpheme or\nWord or\nLine"},"comment":{"url":"https://api.github.com/repos/Z-Shang/FATE-Another-Text-Editor/issues/comments/166633557","html_url":"https://github.com/Z-Shang/FATE-Another-Text-Editor/issues/3#issuecomment-166633557","issue_url":"https://api.github.com/repos/Z-Shang/FATE-Another-Text-Editor/issues/3","id":166633557,"user":{"login":"Z-Shang","id":859939,"avatar_url":"https://avatars.githubusercontent.com/u/859939?v=3","gravatar_id":"","url":"https://api.github.com/users/Z-Shang","html_url":"https://github.com/Z-Shang","followers_url":"https://api.github.com/users/Z-Shang/followers","following_url":"https://api.github.com/users/Z-Shang/following{/other_user}","gists_url":"https://api.github.com/users/Z-Shang/gists{/gist_id}","starred_url":"https://api.github.com/users/Z-Shang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Z-Shang/subscriptions","organizations_url":"https://api.github.com/users/Z-Shang/orgs","repos_url":"https://api.github.com/users/Z-Shang/repos","events_url":"https://api.github.com/users/Z-Shang/events{/privacy}","received_events_url":"https://api.github.com/users/Z-Shang/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T14:47:03Z","updated_at":"2015-12-22T14:47:03Z","body":"                                                                                      I think it could be done by storing the parsed input text as a list of text object with basic type( which is plain text, see fate-static-analysis for the details)After that we can call the front door of the corresponding language to assign types for each text object and make them ready for the renderer.                                                                                                                                                                                                                                                                                                                                        Sent from my BlackBerry 10 smartphone.                                                                                                                                                                                                                From: shangzhanlin@gmail.comSent: Tuesday, December 22, 2015 1:40 PMTo: hczSubject: Re: [FATE-Another-Text-Editor] Unit of text data (#3)                                                                                      Nah, I mean the unit of data to be stored after the plain text went through the parser                                                                                                                                                                                                                                                                                                                                         Sent from my BlackBerry 10 smartphone.                                                                                                                                                                                                                From: hczSent: Tuesday, December 22, 2015 12:58 PMTo: Z-Shang/FATE-Another-Text-EditorReply To: Z-Shang/FATE-Another-Text-EditorCc: Z-ShangSubject: Re: [FATE-Another-Text-Editor] Unit of text data (#3)Do you mean plain text data?\n\nI think that.. text data would be something like:\n\n<plain text> ::= <line>*\n<line> ::= <unit>*(\\n|EOF)\n<unit> ::= <word>|<non word>\n\n\n—Reply to this email directly or view it on GitHub."}}