GitHub user zhangfugui727 opened a pull request:

    https://github.com/apache/poi/pull/126

    Fixed text search error.

    ### Fix paragraph text search results start point marking error.
    ### Such as:
    Search `${code}` in Runs data `["code:${", "code","}"]`.
    The correct result returned should be
    ```
    ### start
    startRun 0
    startText 0
    startChar 5
    ### end
    endRun 2
    endText 0
    endChar 0
    ```
    But the actual interior only retains the ```startRun``` state, and 
```startText, startChar``` are reset at each loop.
    ```
    startRun 0
    startText 0
    startChar 0
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zhangfugui727/poi trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/poi/pull/126.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #126
    
----
commit db519d37c4439d15d9c4c2178490977f3422f15c
Author: zhangfugui <30425581+zhangfugui727@...>
Date:   2018-09-29T09:10:00Z

    Fixed text search error.
    
    Such as:
    Search ${code} in Runs data (["code:${", "code","}"])
    The correct result returned should be
    StartRun 0
    StartText 0
    StartChar 5
    EndRun 2
    EndText 0
    EndChar 0
    But the actual interior only retains the startRun state, and startText, 
startChar are reset at each loop.
    StartRun 0
    StartText 0
    StartChar 0

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to