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

Implement structures #3

Merged
merged 18 commits into from
Jun 11, 2020
Merged

Implement structures #3

merged 18 commits into from
Jun 11, 2020

Conversation

foldfelis
Copy link
Owner

Structures

  • DisplayRow
  • DisplayArray

@foldfelis foldfelis self-assigned this Jun 10, 2020
@foldfelis foldfelis added the enhancement New feature or request label Jun 10, 2020
@foldfelis foldfelis marked this pull request as draft June 10, 2020 09:39
implement base func to display array
@foldfelis
Copy link
Owner Author

Here, the implementation of structure is nearly done. let's add some utilities and features. 🤪

@foldfelis foldfelis marked this pull request as ready for review June 10, 2020 11:05
@codecov-commenter
Copy link

codecov-commenter commented Jun 10, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@24de491). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             master        #3   +/-   ##
==========================================
  Coverage          ?   100.00%           
==========================================
  Files             ?         5           
  Lines             ?        97           
  Branches          ?         0           
==========================================
  Hits              ?        97           
  Misses            ?         0           
  Partials          ?         0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 24de491...b7fc09d. Read the comment docs.

src/display_array.jl Outdated Show resolved Hide resolved
src/display_array.jl Outdated Show resolved Hide resolved
src/util.jl Outdated Show resolved Hide resolved
src/display_array.jl Outdated Show resolved Hide resolved
src/display_array.jl Outdated Show resolved Hide resolved
Comment on lines 52 to 56
deleteat!(row.context, collect(i1:i2))

for i=1:post insert!(row.context, i1, row.background) end
insert!(row.context, i1, c)
for i=1:pre insert!(row.context, i1, row.background) end
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as the previous minor advice

src/display_row.jl Outdated Show resolved Hide resolved
Comment on lines 66 to 70
deleteat!(row.context, collect(i1:i2))

for i=1:post insert!(row.context, i1, row.background) end
for c in reverse(str) insert!(row.context, i1, c) end
for i=1:pre insert!(row.context, i1, row.background) end
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as the previous minor advice

src/display_row.jl Outdated Show resolved Hide resolved
src/feature/feature.jl Outdated Show resolved Hide resolved
src/display_array.jl Outdated Show resolved Hide resolved
src/display_row.jl Outdated Show resolved Hide resolved
src/util.jl Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants